diff options
Diffstat (limited to 'tests/testRes.sh')
-rwxr-xr-x | tests/testRes.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/testRes.sh b/tests/testRes.sh new file mode 100755 index 00000000..5514f72d --- /dev/null +++ b/tests/testRes.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +if [ "z$TMPFOLDER" = "z" ] ; then + TMPFOLDER=/tmp +fi + +logfiles='$TMPFOLDER/test*.log' + +echo "-------------------- MEMORY USAGE --------------------" +grep 'in use' $logfiles | \ + sed 's/==.*==//' | \ + sort -u + +echo "-------------------- ERRORS --------------------" +grep 'ERROR SUMMARY' $logfiles | \ + sed 's/==.*==//' | \ + sed 's/(suppressed: .*//' | \ + sort -u + +
\ No newline at end of file |