Logo AND Algorithmique Numérique Distribuée

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