Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
autodoxy: if the meth signature does not match but only one meth is found, use it
[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"