Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Only for Debug
[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 10\r
7 $ ./tesh --log="log.thresh:info tesh.fmt:%m%n" --timeout=1\r
8 > Test unit from stdin\r
9 > [stdin:1] sleep 10\r
10 > Test unit from stdin INTR\r
11 > Tesh timed out after `(1)' seconds\r