diff options
Diffstat (limited to 'tests/functions.sh')
-rw-r--r-- | tests/functions.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/functions.sh b/tests/functions.sh index 6556e4ed2..74cde97b3 100644 --- a/tests/functions.sh +++ b/tests/functions.sh @@ -387,21 +387,6 @@ function ts_is_mounted { return 1 } -function ts_swapoff { - local DEV="$1" - - # swapoff doesn't exist in build tree - if [ ! -x "$TS_CMD_SWAPOFF" ]; then - ln -sf $TS_CMD_SWAPON $TS_CMD_SWAPOFF - REMSWAPOFF="true" - fi - LD_LIBRARY_PATH="$U_L_LIBRARY_PATH" \ - $TS_CMD_SWAPOFF $DEV 2>&1 >> $TS_OUTPUT - if [ -n "$REMSWAPOFF" ]; then - rm -f $TS_CMD_SWAPOFF - fi -} - function ts_fstab_open { echo "# <!-- util-linux test entry" >> /etc/fstab } |