Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Implement metacommand 'output display' to show it without checking it; try harder...
[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
10 > [0.000000] [tesh/INFO] Test suite from stdin
11 > [0.000000] [tesh/INFO] [stdin:3] cat
12 > [0.000000] run_context.c:394: [tesh/ERROR] Output of child "cat" don't match expectations. Here is a diff between expected and got output:
13 > - TOTO
14 > + TUTU
15 >   
16