Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Only for Debug
[simgrid.git] / tools / tesh2 / examples / catch-wrong-output.tesh
index 8776420..b4179ac 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)
+