summaryrefslogtreecommitdiffstats
path: root/tests/ts/swapon
diff options
context:
space:
mode:
authorKarel Zak2016-03-18 14:24:44 +0100
committerKarel Zak2016-03-18 14:24:44 +0100
commit54a0d5861ffc97dc5523764cab920adcf4e0c366 (patch)
tree25b102128b39f4d68a7568123dc9a2c5edfd50be /tests/ts/swapon
parentdocs: add to TODO file (diff)
downloadkernel-qcow2-util-linux-54a0d5861ffc97dc5523764cab920adcf4e0c366.tar.gz
kernel-qcow2-util-linux-54a0d5861ffc97dc5523764cab920adcf4e0c366.tar.xz
kernel-qcow2-util-linux-54a0d5861ffc97dc5523764cab920adcf4e0c366.zip
tests: check for TS_HELPER_SYSINFO in swap tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/swapon')
-rwxr-xr-xtests/ts/swapon/fixpgsz1
-rwxr-xr-xtests/ts/swapon/fixsig1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/ts/swapon/fixpgsz b/tests/ts/swapon/fixpgsz
index 2e1aa57d3..01b2e9aff 100755
--- a/tests/ts/swapon/fixpgsz
+++ b/tests/ts/swapon/fixpgsz
@@ -9,6 +9,7 @@ ts_init "$*"
ts_check_test_command "$TS_CMD_MKSWAP"
ts_check_test_command "$TS_CMD_SWAPON"
ts_check_test_command "$TS_CMD_SWAPOFF"
+ts_check_test_command "$TS_HELPER_SYSINFO"
ts_skip_nonroot
ts_check_losetup
diff --git a/tests/ts/swapon/fixsig b/tests/ts/swapon/fixsig
index 36c7d9f76..3f9e3ff84 100755
--- a/tests/ts/swapon/fixsig
+++ b/tests/ts/swapon/fixsig
@@ -9,6 +9,7 @@ ts_init "$*"
ts_check_test_command "$TS_CMD_MKSWAP"
ts_check_test_command "$TS_CMD_SWAPON"
ts_check_test_command "$TS_CMD_SWAPOFF"
+ts_check_test_command "$TS_HELPER_SYSINFO"
ts_skip_nonroot
ts_check_losetup