summaryrefslogtreecommitdiffstats
path: root/tests/ts/swapon/uuid
diff options
context:
space:
mode:
authorKarel Zak2012-04-18 13:05:55 +0200
committerKarel Zak2012-04-18 13:05:55 +0200
commitf947ae75b62cf86ee83db52c27a17137d736b5b7 (patch)
tree938026bcdc17ec2e44c831ae5226162d39c846fe /tests/ts/swapon/uuid
parentswapon: minor coding style changes (diff)
downloadkernel-qcow2-util-linux-f947ae75b62cf86ee83db52c27a17137d736b5b7.tar.gz
kernel-qcow2-util-linux-f947ae75b62cf86ee83db52c27a17137d736b5b7.tar.xz
kernel-qcow2-util-linux-f947ae75b62cf86ee83db52c27a17137d736b5b7.zip
tests: remove LD_LIBRARY_PATH from swapon tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/swapon/uuid')
-rwxr-xr-xtests/ts/swapon/uuid5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/ts/swapon/uuid b/tests/ts/swapon/uuid
index 413b46b91..f40720ce2 100755
--- a/tests/ts/swapon/uuid
+++ b/tests/ts/swapon/uuid
@@ -34,12 +34,11 @@ ts_device_has_uuid $DEVICE || ts_die "Cannot find UUID on $DEVICE" $DEVICE
UUID=$(ts_uuid_by_devname $DEVICE)
-LD_LIBRARY_PATH="$U_L_LIBRARY_PATH" \
- $TS_CMD_SWAPON -U $UUID 2>&1 >> $TS_OUTPUT
+$TS_CMD_SWAPON -U $UUID 2>&1 >> $TS_OUTPUT
grep -q $DEVICE /proc/swaps || ts_die "Cannot find $DEVICE in /proc/swaps" $DEVICE
-ts_swapoff $DEVICE
+$TS_CMD_SWAPOFF $DEVICE
ts_device_deinit $DEVICE
ts_log "Success"