]> git.sur5r.net Git - bacula/bacula/commitdiff
Attempt to indicate timed out tests
authorKern Sibbald <kern@sibbald.com>
Fri, 2 Nov 2012 22:13:20 +0000 (23:13 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:51:06 +0000 (14:51 +0200)
regress/run

index f7f7d4d7a72419600dd9ee0979e34dfd05a3e415..f9cd745628f5ec3da2e8d9e07f87206294cb30d0 100755 (executable)
@@ -8,7 +8,15 @@
 #  within the timeout period (900 seconds).
 #
 if [ -f bin/timelimit ] ; then
-   WARNTIME=900 KILLTIME=5 bin/timelimit $*
+   WARNTIME=900 KILLTIME=50 bin/timelimit $*
+   if [ $? .ne. 0 ] ; then
+      echo " "
+      echo "=== Test $* timed out ==="
+      echo " "
+      echo " " >>test.out
+      echo "=== Test $* timed out ===" >>test.out
+      echo " " >>test.out
+   fi
 else
    nice $*
 fi