summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2005-02-26 21:41:15 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2005-02-26 21:41:15 (GMT)
commitbda14a210ec7d7bd7be3ff6aab2843bbd5fdc554 (patch)
treea9025907cd3e907c2c00d55a7bfc4fa7c30d362a /bin
parent9d0cb2ff6c0de6f06da69cf809dbf580422846d7 (diff)
downloadhdf5-bda14a210ec7d7bd7be3ff6aab2843bbd5fdc554.zip
hdf5-bda14a210ec7d7bd7be3ff6aab2843bbd5fdc554.tar.gz
hdf5-bda14a210ec7d7bd7be3ff6aab2843bbd5fdc554.tar.bz2
[svn-r10096] Purpose:
modified the output format of dumping logfile when failures have occurred.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/runtest9
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/runtest b/bin/runtest
index d4a75e7..efcb694 100755
--- a/bin/runtest
+++ b/bin/runtest
@@ -393,11 +393,16 @@ RUNSNAPTEST()
if [ $retcode -ne 0 ]; then
# Dump the first 10 lines and the last 30 lines of the LOGFILE.
( nhead=10; ntail=30;
- echo ===Dumping first $nhead and last $ntail lines of $LOGFILE
+ echo =========================
+ echo "${HOSTNAME}: Dumping first $nhead and last $ntail lines of $LOGFILE"
+ echo =========================
head -$nhead $LOGFILE
echo "[last $ntail lines]..."
tail -$ntail $LOGFILE
- echo ===Dumping done===
+ echo =========================
+ echo Dumping done
+ echo =========================
+ echo ""
) >> $FAILEDDETAIL
fi
}