A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git]
/
tools
/
tesh
/
catch-timeout.tesh
diff --git
a/tools/tesh/catch-timeout.tesh
b/tools/tesh/catch-timeout.tesh
index
a5000a0
..
0bee596
100644
(file)
--- a/
tools/tesh/catch-timeout.tesh
+++ b/
tools/tesh/catch-timeout.tesh
@@
-1,13
+1,12
@@
-#!
./
tesh
+#!
/usr/bin/env
tesh
# This suite must be functional because we changed the timeout value to 10
# before sleeping 6 secs.
! expect return 3
# This suite must be functional because we changed the timeout value to 10
# before sleeping 6 secs.
! expect return 3
-< !
set
timeout 1
+< ! timeout 1
< $ sleep 6
< $ sleep 6
-> [0.000000] [tesh/INFO] Test suite from stdin
-> [0.000000] [tesh/INFO] [stdin:2] sleep 6
-> [0.000000] [tesh/INFO] Child 'sleep 6' timeouted. Kill it
-> [0.000000] run_context.c:335: [tesh/ERROR] Child timeouted (waited 1 sec)
-$ ./tesh
+> Test suite from stdin
+> [(stdin):2] sleep 6
+> Test suite `(stdin)': NOK (<(stdin):2> timeout after 1 sec)
+$ ${bindir:=.}/tesh