Check for exit status of tests

This commit is contained in:
James Shubin
2016-08-10 08:51:38 -04:00
parent 4ca98b5f17
commit 0c7b05b233
7 changed files with 28 additions and 16 deletions

View File

@@ -2,5 +2,6 @@
# should take slightly more than 35s, but fail if we take 45s)
timeout --kill-after=45s 40s ./mgmt run --file t5.yaml --converged-timeout=5 --no-watch &
. wait.sh # wait for mgmt
pid=$!
wait $pid # get exit status
exit $?