From: Martin Quinson Date: Tue, 29 Sep 2015 13:15:06 +0000 (+0200) Subject: don't pass --log to tesh: the perl version ignores it anyway X-Git-Tag: v3_12~107 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/89abf0b3f30962bda39a0d372f85895a6f02681d don't pass --log to tesh: the perl version ignores it anyway --- diff --git a/tools/tesh/IO-orders.tesh b/tools/tesh/IO-orders.tesh index 28be9c2e4a..2b30132e57 100644 --- a/tools/tesh/IO-orders.tesh +++ b/tools/tesh/IO-orders.tesh @@ -9,7 +9,7 @@ p Order: in, out, cmd > Test suite from stdin > [(stdin):3] cat > Test suite from stdin OK -$ ./tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n' +$ ./tesh --enable-coverage p Order: out, in, cmd < > TOTO @@ -19,7 +19,7 @@ p Order: out, in, cmd > Test suite from stdin > [(stdin):3] cat > Test suite from stdin OK -$ ./tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n' +$ ./tesh --enable-coverage p Order: out, cmd, in < > TOTO @@ -29,7 +29,7 @@ p Order: out, cmd, in > Test suite from stdin > [(stdin):2] cat > Test suite from stdin OK -$ ./tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n' +$ ./tesh --enable-coverage p Order: in, cmd, out < < TOTO @@ -39,7 +39,7 @@ p Order: in, cmd, out > Test suite from stdin > [(stdin):2] cat > Test suite from stdin OK -$ ./tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n' +$ ./tesh --enable-coverage p Order: cmd, out, in < $ cat @@ -49,7 +49,7 @@ p Order: cmd, out, in > Test suite from stdin > [(stdin):1] cat > Test suite from stdin OK -$ ./tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n' +$ ./tesh --enable-coverage p Order: cmd, in, out < $ cat @@ -59,4 +59,4 @@ p Order: cmd, in, out > Test suite from stdin > [(stdin):1] cat > Test suite from stdin OK -$ ./tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n' +$ ./tesh --enable-coverage diff --git a/tools/tesh/catch-return.tesh b/tools/tesh/catch-return.tesh index f9d21a29fc..79b0682720 100644 --- a/tools/tesh/catch-return.tesh +++ b/tools/tesh/catch-return.tesh @@ -16,7 +16,7 @@ $ cc -o return1 return1.c ! expect return 41 < $ ./return1 -$ ../tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n' +$ ../tesh --enable-coverage > Enable coverage > Test suite from stdin > [(stdin):1] ./return1 diff --git a/tools/tesh/catch-signal.tesh b/tools/tesh/catch-signal.tesh index 64d37e8a20..1fc946e8f8 100644 --- a/tools/tesh/catch-signal.tesh +++ b/tools/tesh/catch-signal.tesh @@ -17,7 +17,7 @@ $ cc -o segfault segfault.c ! expect return 15 < $ ./segfault -$ ../tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n' +$ ../tesh --enable-coverage > Enable coverage > Test suite from stdin > [(stdin):1] ./segfault diff --git a/tools/tesh/catch-timeout.tesh b/tools/tesh/catch-timeout.tesh index d9daf92e95..786d011a71 100644 --- a/tools/tesh/catch-timeout.tesh +++ b/tools/tesh/catch-timeout.tesh @@ -12,4 +12,4 @@ > <(stdin):2> timeouted. Kill the process. > <(stdin):2> No output before timeout > Test suite `(stdin)': NOK (<(stdin):2> timeout after 1 sec) -$ ./tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n' +$ ./tesh --enable-coverage diff --git a/tools/tesh/catch-wrong-output.tesh b/tools/tesh/catch-wrong-output.tesh index e60d7608e3..aa57175b32 100644 --- a/tools/tesh/catch-wrong-output.tesh +++ b/tools/tesh/catch-wrong-output.tesh @@ -6,7 +6,7 @@ p This tests whether TESH detects wrong outputs < > TOTO < < TUTU < $ cat -$ ./tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n' +$ ./tesh --enable-coverage > Enable coverage > Test suite from stdin > [(stdin):3] cat diff --git a/tools/tesh/cd.tesh b/tools/tesh/cd.tesh index dc297db6a1..eccf0b605d 100644 --- a/tools/tesh/cd.tesh +++ b/tools/tesh/cd.tesh @@ -16,7 +16,7 @@ $ ls > Test suite from stdin > Chdir to toto failed: No such file or directory > Test suite `(stdin)': NOK (system error) -$ ../tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n' +$ ../tesh --enable-coverage # The next command checks that there is a testdir_temp-cd in the upper directory, # ie that mkdir and cd both worked. diff --git a/tools/tesh/set-output-ignore.tesh b/tools/tesh/set-output-ignore.tesh index 1fba40114d..492d963834 100644 --- a/tools/tesh/set-output-ignore.tesh +++ b/tools/tesh/set-output-ignore.tesh @@ -6,7 +6,7 @@ p This tests whether TESH accepts to ignore command output < > TOTO < < TUTU < $ cat -$ ./tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n' +$ ./tesh --enable-coverage > Enable coverage > Test suite from stdin > [(stdin):4] cat diff --git a/tools/tesh/set-output-sort.tesh b/tools/tesh/set-output-sort.tesh index b7ae3076e9..f459286681 100644 --- a/tools/tesh/set-output-sort.tesh +++ b/tools/tesh/set-output-sort.tesh @@ -2,7 +2,7 @@ p This tests whether TESH correctly sorts command output -$ ${bindir:=.}/tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n' set-output-sort-1.tesh +$ ${bindir:=.}/tesh --enable-coverage set-output-sort-1.tesh > Enable coverage > Test suite `set-output-sort-1' > [set-output-sort-1:1] Test sorting and filtering of output