2 # This suite builds and uses a program returning 1.
3 # tesh must detect this condition and report the issue.
5 $ rm -rf temp_testdir-catch-return
6 $ mkdir temp_testdir-catch-return
8 $ cd temp_testdir-catch-return
15 $ gcc -o return1 return1.c
19 $ ../tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n'
21 > Test suite from stdin
22 > [(stdin):1] ./return1
23 > Test suite `(stdin)': NOK (<(stdin):1> returned code 1)
24 > Output of <(stdin):1> so far:
28 $ rm -rf temp_testdir-catch-return