Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
don't leak test files on disk
[simgrid.git] / tools / tesh / catch-wrong-output.tesh
index c161efea77c5764b8584f3f819328e74ec6f9bb9..05ccc57ef0a1a7871061dbaedac520d49348e398 100644 (file)
@@ -6,11 +6,13 @@ p This tests whether TESH detects wrong outputs
 < > TOTO
 < < TUTU
 < $ cat
-$ ./tesh --log='log.thresh:info tesh.fmt:%m%n'
+$ ${bindir:=.}/tesh
 > Test suite from stdin
-> [stdin:3] cat
-> Output mismatch:
-> - TOTO
-> + TUTU
-> Test suite `(stdin)': NOK (<stdin:3> output mismatch)
-
+> [(stdin):3] cat
+> Output of <(stdin):3> mismatch:
+>--- expected
+>+++ obtained
+>@@ -1 +1 @@
+> -TOTO
+> +TUTU
+> Test suite `(stdin)': NOK (<(stdin):3> output mismatch)