Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change the directory to the directory defined by the variable teshexample_dir. If...
[simgrid.git] / tools / tesh2 / examples / IO-orders.tesh
1
2 p This tests that TESH accepts any order for the input/output
3
4 p Order: in, out, cmd
5 < < TOTO
6 < > TOTO
7 < $ cat
8 > Test unit from stdin
9 > [stdin:3] cat
10 > Test unit from stdin OK
11 $ ./tesh --log="log.thresh:info tesh.fmt:%m%n"
12
13 p Order: out, in, cmd
14 < > TOTO
15 < < TOTO
16 < $ cat
17 > Test unit from stdin
18 > [stdin:3] cat
19 > Test unit from stdin OK
20 $ ./tesh --log="log.thresh:info tesh.fmt:%m%n"
21
22 p Order: out, cmd, in
23 < > TOTO
24 < $ cat
25 < < TOTO
26 > Test unit from stdin
27 > [stdin:2] cat
28 > Test unit from stdin OK
29 $ ./tesh --log="log.thresh:info tesh.fmt:%m%n"
30
31 p Order: in, cmd, out
32 < < TOTO
33 < $ cat
34 < > TOTO
35 > Test unit from stdin
36 > [stdin:2] cat
37 > Test unit from stdin OK
38 $ ./tesh --log="log.thresh:info tesh.fmt:%m%n"
39