X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/938c720364732926dd913b4825aa3cb03129313c..64117350d311ffb6c9615a6de4dc84010c3dd933:/tools/tesh/catch-wrong-output.tesh diff --git a/tools/tesh/catch-wrong-output.tesh b/tools/tesh/catch-wrong-output.tesh index 8fa8bceed0..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 --log='log.thresh:info tesh.fmt:%m%n' +$ ${bindir:=.}/tesh > Test suite from stdin -> [stdin:3] cat -> Output of mismatch: -> - TOTO -> + TUTU -> Test suite `(stdin)': NOK ( output mismatch) - +> [(stdin):3] cat +> Output of <(stdin):3> mismatch: +>--- expected +>+++ obtained +>@@ -1 +1 @@ +> -TOTO +> +TUTU +> Test suite `(stdin)': NOK (<(stdin):3> output mismatch)