]> AND Public Git Repository - simgrid.git/blobdiff - tools/tesh2/examples/catch-wrong-output.tesh
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Removed bogus +1 while printing flow id coping with all experiments done before,...
[simgrid.git] / tools / tesh2 / examples / catch-wrong-output.tesh
index 877642045bd48109a3fffd5f5ea5679841e72f4b..b4179ac0043b22261eceab4e8b1bbff17c1b6496 100644 (file)
@@ -1,12 +1,16 @@
-#! ./tesh\r
-\r
-p This tests whether TESH detects wrong outputs\r
-\r
-! expect return $EOUTPUTNOTMATCH\r
-< > TOTO\r
-< < TUTU\r
-< $ cat\r
-$ ./tesh --log="log.thresh:info tesh.fmt:%m%n"\r
-\r
-\r
-\r
+#! ./tesh
+
+p This tests whether TESH detects wrong outputs
+
+! expect return $EOUTPUTNOTMATCH
+< > TOTO
+< < TUTU
+< $ cat
+$ tesh --log="log.thresh:info tesh.fmt:%m%n"
+> Test unit from stdin
+> [stdin:3] cat
+> [stdin:3] `cat' : NOK (outputs mismatch):
+> - TOTO
+> + TUTU
+> Test unit `stdin': NOK (<stdin:3> output mismatch)
+