A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Corrected small bug in network model host_number is used instead of card_number.
[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