2 # This suite builds and uses a program returning 1.
\r
3 # tesh must detect this condition and report the issue.
\r
5 $ rm -rf temp_testdir
\r
9 < #include <stdlib.h>
\r
15 $ gcc -o return1 return1.c
\r
17 ! expect return $EEXITCODENOTMATCH
\r
19 $ ../tesh --log="log.thresh:info tesh.fmt:%m%n"
\r
22 $ rm -rf temp_testdir
\r