summaryrefslogtreecommitdiffstats
path: root/tests/ts/swapon/devname
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/swapon/devname')
-rwxr-xr-xtests/ts/swapon/devname5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ts/swapon/devname b/tests/ts/swapon/devname
index 10fcc4282..f8f312105 100755
--- a/tests/ts/swapon/devname
+++ b/tests/ts/swapon/devname
@@ -20,6 +20,11 @@ TS_DESC="by devname"
. $TS_TOPDIR/functions.sh
ts_init "$*"
+
+ts_check_test_command "$TS_CMD_MKSWAP"
+ts_check_test_command "$TS_CMD_SWAPON"
+ts_check_test_command "$TS_CMD_SWAPOFF"
+
ts_skip_nonroot
set -o pipefail