]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/run
Attempt to indicate timed out tests
[bacula/bacula] / 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