Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
reorganize examples/msg/energy
[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 $ perl ${bindir:=.}/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.