--- src/tests/test-daemon.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/tests/test-daemon.sh b/src/tests/test-daemon.sh index 264e169..c1907a1 100755 --- a/src/tests/test-daemon.sh +++ b/src/tests/test-daemon.sh @@ -52,8 +52,10 @@ sleep 5 unset DISPLAY +EXIT_CODE=0 + for ONE_TEST in $@; do - ${ONE_TEST} + ${ONE_TEST} || EXIT_CODE=1 done # terminate the designated pulseaudio daemon @@ -68,4 +70,4 @@ sleep 2 ## be sure it really died kill -9 $DBUS_SESSION_BUS_PID > /dev/null 2>&1 || true -exit 0 +exit $EXIT_CODE -- 1.7.10.4