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
This test is always false, as we asserted so just above
[simgrid.git]
/
tools
/
tesh
/
catch-timeout.tesh
1
#!/usr/bin/env tesh
2
3
# This suite must be functional because we changed the timeout value to 1
4
# before sleeping 6 secs.
5
6
! expect return 3
7
< ! timeout 1
8
< $ sleep 6
9
> Test suite from stdin
10
> [(stdin):2] sleep 6
11
> Test suite `(stdin)': NOK (<(stdin):2> timeout after 1 sec)
12
$ ${bindir:=.}/tesh