In case of a timeout echo last line in logfile of last test before that logfile gets removed
diff --git a/testme.sh b/testme.sh
index 5dce2d2..a8180bd 100755
--- a/testme.sh
+++ b/testme.sh
@@ -66,6 +66,9 @@ _die()
exit 128
else
echo "assuming timeout while running test - continue"
+ local _tail=""
+ which tail >/dev/null && _tail="tail -n 1 test_${suffix}.log" && \
+ echo "last line of test_"${suffix}".log was:" && $_tail && echo ""
ret=$(( $ret + 1 ))
fi
}