summaryrefslogtreecommitdiffstats
path: root/tests/ts/blkid
diff options
context:
space:
mode:
authorRuediger Meier2014-05-12 12:45:03 +0200
committerRuediger Meier2014-05-13 17:37:19 +0200
commita5b45f2f34da5ee3d90309b339f5162e589be821 (patch)
treeb870fd234f68b3bb022fc1ffb57d044133fa0bff /tests/ts/blkid
parenttests: use ts_check_losetup in losetup test (diff)
downloadkernel-qcow2-util-linux-a5b45f2f34da5ee3d90309b339f5162e589be821.tar.gz
kernel-qcow2-util-linux-a5b45f2f34da5ee3d90309b339f5162e589be821.tar.xz
kernel-qcow2-util-linux-a5b45f2f34da5ee3d90309b339f5162e589be821.zip
tests: ts_device_init requires loop support
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/ts/blkid')
-rwxr-xr-xtests/ts/blkid/md-raid0-whole1
-rwxr-xr-xtests/ts/blkid/md-raid1-whole1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/ts/blkid/md-raid0-whole b/tests/ts/blkid/md-raid0-whole
index 46442bb2a..5cf2eea08 100755
--- a/tests/ts/blkid/md-raid0-whole
+++ b/tests/ts/blkid/md-raid0-whole
@@ -26,6 +26,7 @@ ts_check_test_command "$TS_CMD_FDISK"
ts_check_test_command "$TS_CMD_BLKID"
ts_skip_nonroot
+ts_check_losetup
[ -x /sbin/mdadm ] || ts_skip "missing mdadm"
set -o pipefail
diff --git a/tests/ts/blkid/md-raid1-whole b/tests/ts/blkid/md-raid1-whole
index fcb55c2a4..0ec6c1582 100755
--- a/tests/ts/blkid/md-raid1-whole
+++ b/tests/ts/blkid/md-raid1-whole
@@ -26,6 +26,7 @@ ts_check_test_command "$TS_CMD_FDISK"
ts_check_test_command "$TS_CMD_BLKID"
ts_skip_nonroot
+ts_check_losetup
[ -x /sbin/mdadm ] || ts_skip "missing mdadm"
set -o pipefail