diff options
Diffstat (limited to 'test/testerror.sh.in')
-rw-r--r-- | test/testerror.sh.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/testerror.sh.in b/test/testerror.sh.in index ff17530..11e753f 100644 --- a/test/testerror.sh.in +++ b/test/testerror.sh.in @@ -62,6 +62,12 @@ TEST() { # Skip the plugin for testing missing filter. $ENVCMD $RUNSERIAL $TEST_ERR_BIN ) >$actual 2>$actual_err + + # Check for core dump + if [ $? != 0 ]; then + nerrors=`expr $nerrors + 1` + fi + # Extract file name, line number, version and thread IDs because they may be different sed -e 's/thread [0-9]*/thread (IDs)/' -e 's/: .*\.c /: (file name) /' \ -e 's/line [0-9]*/line (number)/' \ |