Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge pull request #259 from simgrid/configfix
[simgrid.git] / tools / tesh / set-return.tesh
1 #!/usr/bin/env tesh
2 # This suite builds and uses a program returning 1.
3 # tesh is instructed of this return code and must not whine.
4
5 ! expect return 1
6 $ perl -e "exit 1"
7
8 ! expect return 42
9 $ perl -e "exit 42"