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
Fix Host::execute to use *this as a host location, not the this_actor->get_host()
[simgrid.git]
/
tools
/
tesh
/
catch-timeout.tesh
diff --git
a/tools/tesh/catch-timeout.tesh
b/tools/tesh/catch-timeout.tesh
index ebab52a61d011f37fc7981f0d5ede3807a957a9b..a246c1603546826fffdaf2221779ec68a78a4e68 100644
(file)
--- a/
tools/tesh/catch-timeout.tesh
+++ b/
tools/tesh/catch-timeout.tesh
@@
-1,6
+1,6
@@
-#!
./
tesh
+#!
/usr/bin/env
tesh
-# This suite must be functional because we changed the timeout value to 1
0
+# This suite must be functional because we changed the timeout value to 1
# before sleeping 6 secs.
! expect return 3
# before sleeping 6 secs.
! expect return 3
@@
-8,7
+8,5
@@
< $ sleep 6
> Test suite from stdin
> [(stdin):2] sleep 6
< $ sleep 6
> Test suite from stdin
> [(stdin):2] sleep 6
-> <(stdin):2> timeouted. Kill the process.
-> <(stdin):2> No output before timeout
> Test suite `(stdin)': NOK (<(stdin):2> timeout after 1 sec)
> Test suite `(stdin)': NOK (<(stdin):2> timeout after 1 sec)
-$
./tesh --log='log.thresh:info tesh.fmt:%m%n'
+$
${bindir:=.}/tesh