From 8e0f50c176765d232e81a5af765a654c8ad4ea49 Mon Sep 17 00:00:00 2001 From: Deng Zhengrong Date: Fri, 17 Aug 2012 13:51:23 +0800 Subject: [PATCH] tests: fix the wrong library path in check-daemon --- src/tests/test-daemon.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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!