diff options
Diffstat (limited to 'tests/ts/swapon/label')
-rwxr-xr-x | tests/ts/swapon/label | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ts/swapon/label b/tests/ts/swapon/label index 299572c8..5a5e2650 100755 --- a/tests/ts/swapon/label +++ b/tests/ts/swapon/label @@ -36,7 +36,8 @@ ts_device_has "LABEL" $LABEL $DEVICE \ ts_udev_dev_support "by-label" $LABEL || ts_skip "udev ignores /dev/loop*" $DEVICE -$TS_CMD_SWAPON -L $LABEL 2>&1 >> $TS_OUTPUT +LD_LIBRARY_PATH="$U_L_LIBRARY_PATH" \ + $TS_CMD_SWAPON -L $LABEL 2>&1 >> $TS_OUTPUT grep -q $DEVICE /proc/swaps || ts_die "Cannot found $DEVICE in /proc/swaps" $DEVICE |