From 33434de86d9f9c237b7bfb1204512404c42e83ff Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 26 Jun 2016 15:13:30 +0200 Subject: [PATCH] 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. --- t/t0004-server.sh | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.2