From: Andre Noll Date: Sun, 26 Jun 2016 13:13:30 +0000 (+0200) Subject: test suite: Fail test if para_server could not be started. X-Git-Tag: v0.5.7~44 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=33434de86d9f9c237b7bfb1204512404c42e83ff test suite: Fail test if para_server could not be started. In t0004-server.sh, we start the server in daemon mode without checking the exit code. If it fails to start, there is no point in trying to run the tests of this file. This commit adds the missing check. --- diff --git a/t/t0004-server.sh b/t/t0004-server.sh index 3cb37d42..c2e809cb 100755 --- a/t/t0004-server.sh +++ b/t/t0004-server.sh @@ -108,6 +108,7 @@ EOF --user-list "$user_list" \ --http-port "$stream_port" \ --dccp-port "$stream_port" + (($? != 0)) && exit 1 fi for ((i=0; i < ${#commands[@]}; i++)); do