Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'killgraskill'
[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 --enable-coverage --log='log.thresh:info tesh.fmt:%m%n'
10 > Enable coverage
11 > Test suite from stdin
12 > [(stdin):3] cat
13 > Output of <(stdin):3> mismatch:
14 > - TOTO
15 > + TUTU
16 > Test suite `(stdin)': NOK (<(stdin):3> output mismatch)