diff options
-rwxr-xr-x | tests/run-coredump-unwind | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run-coredump-unwind b/tests/run-coredump-unwind index ddaac6a4..690362bd 100755 --- a/tests/run-coredump-unwind +++ b/tests/run-coredump-unwind @@ -49,6 +49,10 @@ fi ./crasher backing_files ) 2>/dev/null COREFILE=$TEMPDIR/core* +if ! test -f "$COREFILE"; then + echo "crasher process did not produce coredump, test skipped" + exit 77 +fi # magic option -testcase enables checking for the specific contents of the stack ./test-coredump-unwind $COREFILE -testcase `cat $TEMPDIR/backing_files` |