summaryrefslogtreecommitdiffstats
path: root/tests/functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functions.sh')
-rw-r--r--tests/functions.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functions.sh b/tests/functions.sh
index 50ef12d8c..e8a2ceb69 100644
--- a/tests/functions.sh
+++ b/tests/functions.sh
@@ -365,7 +365,8 @@ function ts_swapoff {
ln -sf $TS_CMD_SWAPON $TS_CMD_SWAPOFF
REMSWAPOFF="true"
fi
- $TS_CMD_SWAPOFF $DEV 2>&1 >> $TS_OUTPUT
+ 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