Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Adapt the tests to the new code (and use log layouts to make sure we don't have to...
[simgrid.git] / tools / tesh / catch-wrong-output.tesh
1 #! ./tesh
2
3 p This tests whether TESH detects wrong outputs
4
5 ! expect return 2
6 < > TOTO
7 < < TUTU
8 < $ cat
9 $ ./tesh --log='log.thresh:info tesh.fmt:%m%n'
10 > Test suite from stdin
11 > [stdin:3] cat
12 > Output mismatch:
13 > - TOTO
14 > + TUTU
15 > Test suite `(stdin)': NOK (<stdin:3> output mismatch)
16