Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add one more testing script to the archive
[simgrid.git] / tools / tesh2 / examples / catch-wrong-output.tesh
1 #! ./tesh\r
2 \r
3 p This tests whether TESH detects wrong outputs\r
4 \r
5 ! expect return 2\r
6 < > TOTO\r
7 < < TUTU\r
8 < $ cat\r
9 $ ./tesh --log="log.thresh:info tesh.fmt:%m%n"\r
10 > Test suite from stdin\r
11 > [stdin:3] cat\r
12 > Output of <stdin:3> mismatch:\r
13 > - TOTO\r
14 > + TUTU\r
15 > Test suite `(stdin)': NOK (<stdin:3> output mismatch)\r
16 \r