Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add new entry in Release_Notes.
[simgrid.git] / tools / tesh / catch-wrong-output.tesh
index 8fa8bce..08cfa6c 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p This tests whether TESH detects wrong outputs
 
@@ -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 of <stdin:3> 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)