From 54a0d5861ffc97dc5523764cab920adcf4e0c366 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 18 Mar 2016 14:24:44 +0100 Subject: [PATCH] tests: check for TS_HELPER_SYSINFO in swap tests Signed-off-by: Karel Zak --- tests/ts/swapon/fixpgsz | 1 + tests/ts/swapon/fixsig | 1 + 2 files changed, 2 insertions(+) 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 -- 2.47.3