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 --log='log.thresh:info tesh.fmt:%m%n'
20 > Test suite from stdin
21 > [(stdin):1] ./return1
22 > Test suite `(stdin)': NOK (<(stdin):1> returned code 1)
23 > Output of <(stdin):1> so far:
27 $ rm -rf temp_testdir-catch-return