Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
210d6607a7ec2600dab377fefeb6e78f60d3b5df
[simgrid.git] / tools / tesh / catch-return.tesh
1 #! ./tesh
2 # This suite builds and uses a program returning 1.
3 # tesh must detect this condition and report the issue.
4
5 ! expect return 41
6 < $ perl -e "exit 1"
7 $ ./tesh
8 > Test suite from stdin
9 > [(stdin):1] perl -e "exit 1"
10 > Test suite `(stdin)': NOK (<(stdin):1> returned code 1)
11 > <(stdin):1> No output so far.