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 $ gcc -o segfault segfault.c
20 $ ../tesh --log='log.thresh:info tesh.fmt:%m%n'
21 > Test suite from stdin
22 > [stdin:1] ./segfault
23 > Test suite `(stdin)': NOK (<stdin:1> got signal SIGSEGV)
24 > Output of <stdin:1> so far:
28 $ rm -rf temp_testdir-catch-signal