Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add new entry in Release_Notes.
[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 > Test suite from stdin
9 > [(stdin):3] cat
10
11 > Test suite from stdin OK
12 $ ${bindir:=.}/tesh
13
14 p Order: out, in, cmd
15 < > TOTO
16 < < TOTO
17 < $ cat
18 > Test suite from stdin
19 > [(stdin):3] cat
20
21 > Test suite from stdin OK
22 $ ${bindir:=.}/tesh
23
24 p Order: out, cmd, in
25 < > TOTO
26 < $ cat
27 < < TOTO
28 > Test suite from stdin
29 > [(stdin):2] cat
30
31 > Test suite from stdin OK
32 $ ${bindir:=.}/tesh
33
34 p Order: in, cmd, out
35 < < TOTO
36 < $ cat
37 < > TOTO
38 > Test suite from stdin
39 > [(stdin):2] cat
40
41 > Test suite from stdin OK
42 $ ${bindir:=.}/tesh
43
44 p Order: cmd, out, in
45 < $ cat
46 < > TOTO
47 < < TOTO
48 > Test suite from stdin
49 > [(stdin):1] cat
50
51 > Test suite from stdin OK
52 $ ${bindir:=.}/tesh
53
54 p Order: cmd, in, out
55 < $ cat
56 < < TOTO
57 < > TOTO
58 > Test suite from stdin
59 > [(stdin):1] cat
60
61 > Test suite from stdin OK
62 $ ${bindir:=.}/tesh