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
properly removing entries from dictionaries used by tracing
[simgrid.git]
/
tools
/
tesh2
/
examples
/
keep-going-unit.tesh
diff --git
a/tools/tesh2/examples/keep-going-unit.tesh
b/tools/tesh2/examples/keep-going-unit.tesh
index
22ce9dc
..
b2b00cb
100644
(file)
--- a/
tools/tesh2/examples/keep-going-unit.tesh
+++ b/
tools/tesh2/examples/keep-going-unit.tesh
@@
-39,14
+39,14
@@
$ gcc -o job job.c
< ! expect return 0
\r
< > Hello Tesh
\r
< $ ./job
\r
< ! expect return 0
\r
< > Hello Tesh
\r
< $ ./job
\r
-$
./tesh --log='log.thresh:info tesh.fmt:%m%n'
\r
+$
tesh --log="log.thresh:info tesh.fmt:%m%n"
\r
> Test unit from stdin
\r
> [stdin:3] ./job
\r
> [stdin:3] ./job : NOK (returned code `0' instead `1')
\r
> Output of <stdin:3> so far:
\r
> ||Hello Tesh
\r
> ||
\r
> Test unit from stdin
\r
> [stdin:3] ./job
\r
> [stdin:3] ./job : NOK (returned code `0' instead `1')
\r
> Output of <stdin:3> so far:
\r
> ||Hello Tesh
\r
> ||
\r
-> Test unit `
(stdin)' : NOK (
exit code mismatch)
\r
+> Test unit `
stdin': NOK (<stdin:3>
exit code mismatch)
\r
\r
\r
# in this case the option keep-going-unit is specified so, all the command are executed.
\r
\r
\r
# in this case the option keep-going-unit is specified so, all the command are executed.
\r
@@
-71,7
+71,7
@@
$ ./tesh --log='log.thresh:info tesh.fmt:%m%n'
< ! expect return 0
\r
< > Hello Tesh
\r
< $ ./job
\r
< ! expect return 0
\r
< > Hello Tesh
\r
< $ ./job
\r
-$
./tesh --log='log.thresh:info tesh.fmt:%m%n'
--keep-going-unit
\r
+$
tesh --log="log.thresh:info tesh.fmt:%m%n"
--keep-going-unit
\r
> Test unit from stdin
\r
> [stdin:3] ./job
\r
> [stdin:3] ./job : NOK (returned code `0' instead `1')
\r
> Test unit from stdin
\r
> [stdin:3] ./job
\r
> [stdin:3] ./job : NOK (returned code `0' instead `1')
\r
@@
-82,7
+82,7
@@
$ ./tesh --log='log.thresh:info tesh.fmt:%m%n' --keep-going-unit
> [stdin:11] ./job
\r
> [stdin:15] ./job
\r
> [stdin:19] ./job
\r
> [stdin:11] ./job
\r
> [stdin:15] ./job
\r
> [stdin:19] ./job
\r
-> Test unit `
(stdin)' : NOK (
exit code mismatch)
\r
+> Test unit `
stdin': NOK (<stdin:3>
exit code mismatch)
\r
\r
\r
$ rm -f job
\r
\r
\r
$ rm -f job
\r