X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/86051ed1b66342bae0e21fd6643e66331ac2c07d..65f2d0ee3e36c86770abe9196990f0a40b4b8221:/tools/tesh/catch-wrong-output.tesh diff --git a/tools/tesh/catch-wrong-output.tesh b/tools/tesh/catch-wrong-output.tesh index 2532086e65..08cfa6c3bf 100644 --- a/tools/tesh/catch-wrong-output.tesh +++ b/tools/tesh/catch-wrong-output.tesh @@ -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 -> [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 -> - TOTO -> -> +$ ${bindir:=.}/tesh +> Test suite from stdin +> [(stdin):3] cat +> Output of <(stdin):3> mismatch: +>--- expected +>+++ obtained +>@@ -1 +1 @@ +> -TOTO +> +TUTU +> Test suite `(stdin)': NOK (<(stdin):3> output mismatch)