summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeng Zhengrong <dzrongg@gmail.com>2012-08-17 13:51:23 +0800
committerArun Raghavan <arun.raghavan@collabora.co.uk>2012-08-20 07:27:43 +0530
commit8e0f50c176765d232e81a5af765a654c8ad4ea49 (patch)
treef66397a1c407d4db97498fc648a1003b5e00b5e7
parent70acd7bf66693db9f0ea21237943bfb51afc80e0 (diff)
tests: fix the wrong library path in check-daemon
-rwxr-xr-xsrc/tests/test-daemon.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/test-daemon.sh b/src/tests/test-daemon.sh
index 3347b4282..264e16970 100755
--- a/src/tests/test-daemon.sh
+++ b/src/tests/test-daemon.sh
@@ -3,7 +3,7 @@
# This script is modified from dbus's run-with-temp-session-bus.sh.
#
-SCRIPTNAME=$0
+SCRIPTNAME="$0"
die()
{
@@ -44,6 +44,7 @@ pulseaudio -n \
--load="module-suspend-on-idle" \
--load="module-native-protocol-unix" \
--load="module-cli-protocol-unix" \
+ --dl-search-path="$(dirname $SCRIPTNAME)/.libs/" \
&
# wait a few seconds to let the daemon start!