summaryrefslogtreecommitdiffstats
path: root/tests/ts/swapon
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/swapon
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/swapon')
-rwxr-xr-xtests/ts/swapon/devname1
-rwxr-xr-xtests/ts/swapon/fixpgsz1
-rwxr-xr-xtests/ts/swapon/fixsig1
-rwxr-xr-xtests/ts/swapon/label1
-rwxr-xr-xtests/ts/swapon/uuid1
5 files changed, 5 insertions, 0 deletions
diff --git a/tests/ts/swapon/devname b/tests/ts/swapon/devname
index f8f312105..934455df3 100755
--- a/tests/ts/swapon/devname
+++ b/tests/ts/swapon/devname
@@ -26,6 +26,7 @@ ts_check_test_command "$TS_CMD_SWAPON"
ts_check_test_command "$TS_CMD_SWAPOFF"
ts_skip_nonroot
+ts_check_losetup
set -o pipefail
diff --git a/tests/ts/swapon/fixpgsz b/tests/ts/swapon/fixpgsz
index f0dafe934..8296951ec 100755
--- a/tests/ts/swapon/fixpgsz
+++ b/tests/ts/swapon/fixpgsz
@@ -11,6 +11,7 @@ ts_check_test_command "$TS_CMD_SWAPON"
ts_check_test_command "$TS_CMD_SWAPOFF"
ts_skip_nonroot
+ts_check_losetup
set -o pipefail
diff --git a/tests/ts/swapon/fixsig b/tests/ts/swapon/fixsig
index a4d04110c..c1b4cb6c2 100755
--- a/tests/ts/swapon/fixsig
+++ b/tests/ts/swapon/fixsig
@@ -11,6 +11,7 @@ ts_check_test_command "$TS_CMD_SWAPON"
ts_check_test_command "$TS_CMD_SWAPOFF"
ts_skip_nonroot
+ts_check_losetup
set -o pipefail
diff --git a/tests/ts/swapon/label b/tests/ts/swapon/label
index 03cf017ed..329b1af08 100755
--- a/tests/ts/swapon/label
+++ b/tests/ts/swapon/label
@@ -27,6 +27,7 @@ ts_check_test_command "$TS_CMD_SWAPON"
ts_check_test_command "$TS_CMD_SWAPOFF"
ts_skip_nonroot
+ts_check_losetup
set -o pipefail
diff --git a/tests/ts/swapon/uuid b/tests/ts/swapon/uuid
index c80e52fdb..2ea493184 100755
--- a/tests/ts/swapon/uuid
+++ b/tests/ts/swapon/uuid
@@ -26,6 +26,7 @@ ts_check_test_command "$TS_CMD_SWAPON"
ts_check_test_command "$TS_CMD_SWAPOFF"
ts_skip_nonroot
+ts_check_losetup
set -o pipefail