]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: check for loopdevs
authorKarel Zak <kzak@redhat.com>
Wed, 23 Nov 2022 08:10:39 +0000 (09:10 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 3 Jan 2023 11:58:42 +0000 (12:58 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/ts/mount/complex
tests/ts/mount/subdir

index 695716863d52a036f00ccac2e6230a4a4b085e86..98c5715b09bdd6fd5d6e2e3989c29a05d7d58255 100755 (executable)
@@ -18,6 +18,7 @@ ts_init "$*"
 
 ts_check_test_command "$TS_CMD_MOUNT"
 ts_skip_nonroot
+ts_check_losetup
 
 $TS_CMD_MOUNT --version | grep -q 'fd-based' || ts_skip "no fd-based API"
 
index d525fa5166c146b38402813d4019e401fd2adf1d..04ba6dc1cd402238bbea731c5613320e77302981 100755 (executable)
@@ -23,6 +23,7 @@ ts_init "$*"
 
 ts_check_test_command "$TS_CMD_MOUNT"
 ts_skip_nonroot
+ts_check_losetup
 
 ts_device_init
 DEVICE=$TS_LODEV