summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2005-04-05 16:31:43 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2005-04-05 16:31:43 (GMT)
commitd27b0699eed97c7e8c8b6f2c5040b62ed11caa0e (patch)
treee30bec4b3d9d3a556d57d53704b1f15342317541 /bin
parentbcc99d9328d2110c1603b13948aeb72e084e40ef (diff)
downloadhdf5-d27b0699eed97c7e8c8b6f2c5040b62ed11caa0e.zip
hdf5-d27b0699eed97c7e8c8b6f2c5040b62ed11caa0e.tar.gz
hdf5-d27b0699eed97c7e8c8b6f2c5040b62ed11caa0e.tar.bz2
[svn-r10538] Purpose:
Improvement Description: Dumping the beginning 10 lines of log files does not give much useful information and they sort of mix up with the last 30 lines. Solution: Do not dump the beginning 10 lines any more. Platforms tested: Tested by hand.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/runtest6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/runtest b/bin/runtest
index 120b718..2b8b107 100755
--- a/bin/runtest
+++ b/bin/runtest
@@ -392,13 +392,11 @@ RUNSNAPTEST()
date >> $LOGFILE
if [ $retcode -ne 0 ]; then
# Dump the first 10 lines and the last 30 lines of the LOGFILE.
- ( nhead=10; ntail=30;
+ ( ntail=30
echo =========================
echo "Dumping logfile of ${HOSTNAME}: $TEST_TYPE"
- echo "first $nhead and last $ntail lines of $LOGFILE"
+ echo "Last $ntail lines of $LOGFILE"
echo =========================
- head -$nhead $LOGFILE
- echo "[last $ntail lines]..."
tail -$ntail $LOGFILE
echo =========================
echo Dumping done