summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/runtest6
-rwxr-xr-xbin/timekeeper2
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/runtest b/bin/runtest
index bb7ae64..75e78dc 100755
--- a/bin/runtest
+++ b/bin/runtest
@@ -528,7 +528,7 @@ errcode=0 # error code of the whole test
skiptest=no # if test is skipped
CC_SAVED="$CC" # CC & PATH maybe changed within a test.
PATH_SAVED=$PATH # These save the original values.
-
+timelimit=`expr 3600 \* 5` # time limit for the timekeeper
#################################
# Parse options
@@ -747,8 +747,8 @@ if [ -n "$TESTHOST" -a $HOSTNAME != "$TESTHOST" ]; then
cd ${SNAPYARD}/log
# Fork off timekeeper if concurrent tests will be used.
if [ -n "$SRCDIR" ]; then
- ($SNAPYARD/current/bin/timekeeper 300 &)
- PRINT " Fork off timekeeper 300"
+ ($SNAPYARD/current/bin/timekeeper $timelimit &)
+ PRINT " Fork off timekeeper $timelimit"
fi
n_test=0
runtest_type="hosts"
diff --git a/bin/timekeeper b/bin/timekeeper
index f94f746..34d1a49 100755
--- a/bin/timekeeper
+++ b/bin/timekeeper
@@ -20,7 +20,7 @@
# Created Date: 2004/12/23
# variable initialization
-waitperiod=300 # default to 5 hours
+waitperiod=`expr 3600 \* 5` # default to 5 hours
debugtimelimit=
debugflag= # no debug