diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2005-04-05 16:31:41 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2005-04-05 16:31:41 (GMT) |
commit | 50a248d644860bae3d951187c8b0c5127044904f (patch) | |
tree | d31fcac53f5dbe6823e9cab207838d0a0f3f9487 /bin | |
parent | 9c5d3d398e618a615814162267c2e8d68465a9da (diff) | |
download | hdf5-50a248d644860bae3d951187c8b0c5127044904f.zip hdf5-50a248d644860bae3d951187c8b0c5127044904f.tar.gz hdf5-50a248d644860bae3d951187c8b0c5127044904f.tar.bz2 |
[svn-r10537] 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-x | bin/runtest | 6 |
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 |