X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Frun;h=5c843acbf4c3cc97c132e148c5568e461b4cd6a4;hb=HEAD;hp=bde6535b4b55e2c691d77a02c52661d41dbe3638;hpb=bb672c8b051caaec05512dbc176d919ceeafd768;p=bacula%2Fbacula diff --git a/regress/run b/regress/run index bde6535b4b..5c843acbf4 100755 --- a/regress/run +++ b/regress/run @@ -1,4 +1,9 @@ #!/bin/sh +# +# Copyright (C) 2000-2015 Kern Sibbald +# License: BSD 2-Clause; see file LICENSE-FOSS +# + # # Script to run a regression test with a time limit (in seconds) # this allows the script to be killed if say the SD crashes @@ -11,11 +16,12 @@ if [ -f bin/timelimit ] ; then WARNTIME=900 KILLTIME=50 bin/timelimit $* if [ $? != 0 ] ; then echo " " - echo "=== Test $* timed out ===" + echo "=== Test $* failed ===" echo " " echo " " >>test.out - echo "=== Test $* timed out ===" >>test.out + echo "=== Test $* failed ===" >>test.out echo " " >>test.out + exit 1 fi else nice $*