summaryrefslogtreecommitdiff
path: root/tests/setup_disk_test
diff options
context:
space:
mode:
authorWilliam Wilhelm <willat8@gmail.com>2023-01-01 10:51:47 +0000
committerWilliam Wilhelm <willat8@gmail.com>2023-01-26 10:35:45 +1100
commita7fb778415a264a0f40e7580217cbd5616fb0cfe (patch)
treea1e1cf43db657e6335117232b4df457b028e2ef1 /tests/setup_disk_test
parentfe3f23437a5d8534b2c64a39c430d366de3e6387 (diff)
downloadalpine-conf-a7fb778415a264a0f40e7580217cbd5616fb0cfe.zip
setup-disk: NO_DISK_UUID for fstab
Diffstat (limited to 'tests/setup_disk_test')
-rwxr-xr-xtests/setup_disk_test7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/setup_disk_test b/tests/setup_disk_test
index b3c714a..5fcb535 100755
--- a/tests/setup_disk_test
+++ b/tests/setup_disk_test
@@ -221,6 +221,13 @@ setup_disk_func_uuid_or_device_body() {
-o match:"UUID=1db12961-31ce-420f-94f0-559a1f6592ff" \
setup-disk /dev/sda1
+ SETUP_DISK_TESTFUNC=uuid_or_device \
+ NO_DISK_UUID="/dev/sda1 /dev/sda3" \
+ atf_check -s exit:0 \
+ -o not-match:"UUID" \
+ -o match:"/dev/sda1" \
+ setup-disk /dev/sda1
+
}
setup_disk_non_existing_block_dev_body() {