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
Update copyright headers.
[simgrid.git]
/
tools
/
tesh
/
catch-timeout.tesh
diff --git
a/tools/tesh/catch-timeout.tesh
b/tools/tesh/catch-timeout.tesh
index
d4c6f14
..
0bee596
100644
(file)
--- a/
tools/tesh/catch-timeout.tesh
+++ b/
tools/tesh/catch-timeout.tesh
@@
-1,4
+1,4
@@
-#!
./
tesh
+#!
/usr/bin/env
tesh
# This suite must be functional because we changed the timeout value to 10
# before sleeping 6 secs.
# This suite must be functional because we changed the timeout value to 10
# before sleeping 6 secs.
@@
-7,8
+7,6
@@
< ! timeout 1
< $ sleep 6
> Test suite from stdin
< ! timeout 1
< $ 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)
-$ ./tesh --log='log.thresh:info tesh.fmt:%m%n'
+> [(stdin):2] sleep 6
+> Test suite `(stdin)': NOK (<(stdin):2> timeout after 1 sec)
+$ ${bindir:=.}/tesh