2 # This suite builds and uses a program raising a segfault, ie a program dying
3 # of SIGSEV. tesh must detect this condition and report the issue.
5 $ rm -rf temp_testdir-catch-signal
6 $ mkdir temp_testdir-catch-signal
8 $ cd temp_testdir-catch-signal
16 $ cc -o segfault segfault.c
20 $ ../tesh --enable-coverage
22 > Test suite from stdin
23 > [(stdin):1] ./segfault
24 > Test suite `(stdin)': NOK (<(stdin):1> got signal SIGSEGV)
25 > Output of <(stdin):1> so far:
29 $ rm -rf temp_testdir-catch-signal