diff options
author | Karel Zak | 2016-03-18 14:24:44 +0100 |
---|---|---|
committer | Karel Zak | 2016-03-18 14:24:44 +0100 |
commit | 54a0d5861ffc97dc5523764cab920adcf4e0c366 (patch) | |
tree | 25b102128b39f4d68a7568123dc9a2c5edfd50be /tests/ts/swapon | |
parent | docs: add to TODO file (diff) | |
download | kernel-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-x | tests/ts/swapon/fixpgsz | 1 | ||||
-rwxr-xr-x | tests/ts/swapon/fixsig | 1 |
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 |