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 prototype, and use boolean operators.
[simgrid.git]
/
tools
/
tesh
/
catch-wrong-output.tesh
diff --git
a/tools/tesh/catch-wrong-output.tesh
b/tools/tesh/catch-wrong-output.tesh
index 1dcd26d6ddc472d689d3062f4b2838973df64b0a..08cfa6c3bfc2bbccead639ee22cb6ba6f05514ae 100644
(file)
--- a/
tools/tesh/catch-wrong-output.tesh
+++ b/
tools/tesh/catch-wrong-output.tesh
@@
-1,4
+1,4
@@
-#!
./
tesh
+#!
/usr/bin/env
tesh
p This tests whether TESH detects wrong outputs
p This tests whether TESH detects wrong outputs
@@
-6,10
+6,13
@@
p This tests whether TESH detects wrong outputs
< > TOTO
< < TUTU
< $ cat
< > TOTO
< < TUTU
< $ cat
-$
perl
${bindir:=.}/tesh
+$ ${bindir:=.}/tesh
> Test suite from stdin
> [(stdin):3] cat
> Output of <(stdin):3> mismatch:
> Test suite from stdin
> [(stdin):3] cat
> Output of <(stdin):3> mismatch:
-> - TOTO
-> + TUTU
+>--- expected
+>+++ obtained
+>@@ -1 +1 @@
+> -TOTO
+> +TUTU
> Test suite `(stdin)': NOK (<(stdin):3> output mismatch)
> Test suite `(stdin)': NOK (<(stdin):3> output mismatch)