Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
some changes for Windows (shell) compatibility and comment the sync call to test...
[simgrid.git] / tools / tesh2 / examples / catch-wrong-output.tesh
index 8776420..1356a1e 100644 (file)
@@ -2,11 +2,15 @@
 \r
 p This tests whether TESH detects wrong outputs\r
 \r
-! expect return $EOUTPUTNOTMATCH\r
+! expect return 2\r
 < > TOTO\r
 < < TUTU\r
 < $ cat\r
 $ ./tesh --log="log.thresh:info tesh.fmt:%m%n"\r
-\r
-\r
+> Test suite from stdin\r
+> [stdin:3] cat\r
+> Output of <stdin:3> mismatch:\r
+> - TOTO\r
+> + TUTU\r
+> Test suite `(stdin)': NOK (<stdin:3> output mismatch)\r
 \r