diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2002-02-28 15:10:34 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2002-02-28 15:10:34 (GMT) |
commit | 7461707c6073ea4b2265583f93724ffe374ebb0e (patch) | |
tree | cd13a77fceacd4fc56e58f94a3ad4f82ce371a50 | |
parent | fcdc61ac992e22ba763b595ec6c9c73e012b9015 (diff) | |
download | hdf5-7461707c6073ea4b2265583f93724ffe374ebb0e.zip hdf5-7461707c6073ea4b2265583f93724ffe374ebb0e.tar.gz hdf5-7461707c6073ea4b2265583f93724ffe374ebb0e.tar.bz2 |
[svn-r5025] Purpose:
Feature
Description:
The output of multiple tests of one host used to all go to the same
logfile. It is harder to find the beginning of each test.
Solution:
Added hour and minute (HHMM) into the logfile name. Different
tests should go to different files now. If a second test starts
within a minute of the previous test, their output will be all
in the same file. In the case, there are probably not that much
output to worry.
Platforms tested:
eirene
-rwxr-xr-x | bin/runtest | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/runtest b/bin/runtest index 61decae..d94bcbf 100755 --- a/bin/runtest +++ b/bin/runtest @@ -312,7 +312,8 @@ RUNSNAPTEST() fi # Setup log file name to save test output - LOGFILE=${LOGBASENAME}${SRCDIRNAME}_${TODAY} + THIS_MINUTE=`date +%H%M` + LOGFILE=${LOGBASENAME}${SRCDIRNAME}_${TODAY}_${THIS_MINUTE} PRINT "Running snapshot with output saved in" PRINT " $LOGFILE" (date; PRINT Hostname=$HOSTNAME) >> $LOGFILE |