diff options
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 |