From: Karel Zak Date: Fri, 18 Mar 2016 13:24:44 +0000 (+0100) Subject: tests: check for TS_HELPER_SYSINFO in swap tests X-Git-Tag: v2.28-rc2~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=54a0d5861ffc97dc5523764cab920adcf4e0c366;p=thirdparty%2Futil-linux.git tests: check for TS_HELPER_SYSINFO in swap tests Signed-off-by: Karel Zak --- diff --git a/tests/ts/swapon/fixpgsz b/tests/ts/swapon/fixpgsz index 2e1aa57d31..01b2e9afff 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 36c7d9f763..3f9e3ff840 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