Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
merge branches
[simgrid.git] / tools / tesh / catch-wrong-output.tesh
index 2532086..bfb2adb 100644 (file)
@@ -6,11 +6,12 @@ p This tests whether TESH detects wrong outputs
 < > TOTO
 < < TUTU
 < $ cat
-$ ./tesh
-> [0.000000] [tesh/INFO] Test suite from stdin
-> [0.000000] [tesh/INFO] [stdin:3] cat
-> [0.000000] run_context.c:394: [tesh/ERROR] Output of child "cat" don't match expectations. Here is a diff between expected and got output:
-> + TUTU
+$ ./tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n'
+> Enable coverage
+> Test suite from stdin
+> [(stdin):3] cat
+> Output of <(stdin):3> mismatch:
 > - TOTO
->   
-> 
+> + TUTU
+> Test suite `(stdin)': NOK (<(stdin):3> output mismatch)
+