Algorithmique Numérique Distribuée Public GIT Repository
b95065e132971a506e7e790ee445f4d14eaccb6d
1 #! ./tesh
3 p Test sorting and filtering of output
5 \$ true
7 ! output sort
8 \$ true
10 \$ printf 'profiling: foo\\n'
12 \$ printf 'profiling: foo'
14 ! output sort
15 \$ printf 'profiling: foo\\n'
17 ! output sort
18 \$ printf 'profiling: foo'
20 \$ printf 'a\\nb\\nc\\nd\\n'
21 > a
22 > b
23 > c
24 > d
26 \$ printf 'a\\nb\\nc\\nd'
27 > a
28 > b
29 > c
30 > d
32 ! output sort
33 \$ printf 'c\\nd\\nb\\na\\n'
34 > a
35 > b
36 > c
37 > d
39 ! output sort
40 \$ printf 'c\\nd\\nb\\na'
41 > a
42 > b
43 > c
44 > d
46 \$ printf 'a\\nprofiling: foo\\nprofiling: bar\\nb\\nc\\nd\\nprofiling: baz\\n'
47 > a
48 > b
49 > c
50 > d
52 \$ printf 'a\\nprofiling: foo\\nprofiling: bar\\nb\\nc\\nd\\nprofiling: baz'
53 > a
54 > b
55 > c
56 > d
58 ! output sort
59 \$ printf 'c\\nprofiling: foo\\nprofiling: bar\\nd\\nb\\na\\nprofiling: baz\\n'
60 > a
61 > b
62 > c
63 > d
65 ! output sort
66 \$ printf 'c\\nprofiling: foo\\nprofiling: bar\\nd\\nb\\na\\nprofiling: baz'
67 > a
68 > b
69 > c
70 > d