Logo AND Algorithmique Numérique Distribuée

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