summaryrefslogtreecommitdiffstats
path: root/tests/cond.right
blob: 59a4a8869f1eaee0bf2f7fc6e4919d3dfbdd67fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
returns: 0
returns: 0
returns: 1
returns: 0
returns: 0
returns: 0
returns: 0
returns: 0
returns: 1
returns: 0
returns: 0
returns: 1
returns: 1
returns: 1
returns: 1
returns: 0
returns: 0
returns: 0
returns: 1
returns: 0
returns: 1
returns: 0
returns: 1
returns: 1
returns: 0
./cond.tests: line 114: [[: 4+: syntax error: operand expected (error token is "+")
returns: 1
returns: 0
returns: 0
returns: 1
returns: 0
returns: 0
returns: 1
returns: 0
ok
jbig2dec

found 1
libc
found 2
libc
ok 42
ok 43
ok 1
ok 2
ok 3
ok 4
ok 5
match 1
match 2
match 3
match 4
match 5
match 6
yes 1
yes 2
yes 3
yes 4
yes 5
yes 6
Dog 01 is Wiggles
Dog 01 is Wiggles
rematch 1
matches 7
matches 8
matches 9
unquoted matches
match control-a 1
match control-a 2
match control-a 3
match control-a 4
match control-a 5
ok 1
ok 2
ok 3
ok 4
ok 4a
ok 5
ok 6
ok 7 -- d
ok 8 -- o
ok 9
ok 10
ok 11
ok 12
argv[1] = <\^?>
0
1
1
0
1
1
0
1
1
[[ $'\001' =~ $'\001' ]] -> 0
[[ $'\001' =~ $'\\\001' ]] -> 0
[[ $'\001' =~ $'\\[\001]' ]] -> 1
---
[[ $'\a' =~ $'\a' ]] -> 0
[[ $'\a' =~ $'\\\a' ]] -> 0
[[ $'\a' =~ $'\\[\a]' ]] -> 1
---
[[ $'\177' =~ $'\177' ]] -> 0
[[ $'\177' =~ $'\\\177' ]] -> 0
[[ $'\177' =~ $'\\[\177]' ]] -> 1
---
0
1
1
0
1
1
0
1
1
0
1
0
1
1
0
0
0
1
1
argv[1] = <^A>
argv[2] = <^A>
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8