summaryrefslogtreecommitdiffstats
path: root/tests/ts-swapon-label
diff options
context:
space:
mode:
authorKarel Zak2007-05-18 15:34:28 +0200
committerKarel Zak2007-05-18 15:34:28 +0200
commit57a917d630b18908ac0b83336b3b0692c5033f9a (patch)
tree5b518b248fb00755b62400585075de42f66e46ee /tests/ts-swapon-label
parenttests: "if [...]" clean up (diff)
downloadkernel-qcow2-util-linux-57a917d630b18908ac0b83336b3b0692c5033f9a.tar.gz
kernel-qcow2-util-linux-57a917d630b18908ac0b83336b3b0692c5033f9a.tar.xz
kernel-qcow2-util-linux-57a917d630b18908ac0b83336b3b0692c5033f9a.zip
tests: add ts_log and --verbose support
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts-swapon-label')
-rwxr-xr-xtests/ts-swapon-label4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ts-swapon-label b/tests/ts-swapon-label
index 2f8aef105..0d7dc93a8 100755
--- a/tests/ts-swapon-label
+++ b/tests/ts-swapon-label
@@ -23,7 +23,7 @@ TS_DESC="label"
LABEL="testSwapLabel"
-ts_init
+ts_init "$1"
ts_skip_nonroot
set -o pipefail
@@ -48,6 +48,6 @@ grep -q $DEVICE /proc/swaps
ts_swapoff $DEVICE
ts_device_deinit $DEVICE
-echo "Success" >> $TS_OUTPUT
+ts_log "Success"
ts_finalize