Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Huge code cleanup + implementation of the background commands. Damn thing, that was...
[simgrid.git] / tools / tesh / 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 > [0.000000] [tesh/INFO] Test suite from stdin
9 > [0.000000] [tesh/INFO] [stdin:3] cat
10 > [0.000000] [tesh/INFO] Test suite from stdin OK
11 $ ./tesh
12
13 p Order: out, in, cmd
14 < > TOTO
15 < < TOTO
16 < $ cat
17 > [0.000000] [tesh/INFO] Test suite from stdin
18 > [0.000000] [tesh/INFO] [stdin:3] cat
19 > [0.000000] [tesh/INFO] Test suite from stdin OK
20 $ ./tesh
21
22 p Order: out, cmd, in
23 < > TOTO
24 < $ cat
25 < < TOTO
26 > [0.000000] [tesh/INFO] Test suite from stdin
27 > [0.000000] [tesh/INFO] [stdin:2] cat
28 > [0.000000] [tesh/INFO] Test suite from stdin OK
29 $ ./tesh
30
31 p Order: in, cmd, out
32 < < TOTO
33 < $ cat
34 < > TOTO
35 > [0.000000] [tesh/INFO] Test suite from stdin
36 > [0.000000] [tesh/INFO] [stdin:2] cat
37 > [0.000000] [tesh/INFO] Test suite from stdin OK
38 $ ./tesh
39
40 p Order: cmd, out, in
41 < $ cat
42 < > TOTO
43 < < TOTO
44 > [0.000000] [tesh/INFO] Test suite from stdin
45 > [0.000000] [tesh/INFO] [stdin:1] cat
46 > [0.000000] [tesh/INFO] Test suite from stdin OK
47 $ ./tesh
48
49 p Order: cmd, in, out
50 < $ cat
51 < < TOTO
52 < > TOTO
53 > [0.000000] [tesh/INFO] Test suite from stdin
54 > [0.000000] [tesh/INFO] [stdin:1] cat
55 > [0.000000] [tesh/INFO] Test suite from stdin OK
56 $ ./tesh
57