Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
some new files used to check Tesh
[simgrid.git] / tools / tesh2 / examples / catch-global-timeout.tesh
1 #! ./tesh\r
2 # This test detects a global timeout\r
3 \r
4 ! expect return $ELEADTIME\r
5 \r
6 < $ sleep 30\r
7 $ ./tesh --log='log.thresh:info tesh.fmt:%m%n' --timeout=3\r
8 > Test unit from stdin\r
9 > [stdin:1] sleep 30\r
10 > Test unit from stdin INTR\r
11 > Tesh timed out after `(3)' seconds\r