summaryrefslogtreecommitdiffstats
path: root/tests/ts-swapon-uuid
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-uuid
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-uuid')
-rwxr-xr-xtests/ts-swapon-uuid4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ts-swapon-uuid b/tests/ts-swapon-uuid
index b77b06aae..6e2a90fae 100755
--- a/tests/ts-swapon-uuid
+++ b/tests/ts-swapon-uuid
@@ -21,7 +21,7 @@
TS_COMPONENT="swapon"
TS_DESC="uuid"
-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