source: MondoRescue/branches/2.2.9/mindi-busybox/shell/hush_test/hush-arith/arith.right@ 2725

Last change on this file since 2725 was 2725, checked in by Bruno Cornec, 13 years ago
  • Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
File size: 1.9 KB
Line 
1Format: 'expected actual'
2163 163
34 4
416 16
58 8
62 2
74 4
82 2
92 2
101 1
110 0
120 0
130 0
141 1
151 1
162 2
17-3 -3
18-2 -2
191 1
200 0
212 2
22131072 131072
2329 29
2433 33
2549 49
261 1
271 1
280 0
290 0
301 1
311 1
321 1
332 2
343 3
351 1
3658 58
372 2
3860 60
391 1
40256 256
4116 16
4262 62
434 4
4429 29
455 5
46unary plus, minus
47-4 -4
484 4
49conditional expressions
501 1
5132 32
5232 32
531 1
541 1
5532 32
56check that parentheses in `cmd` are interpreted correctly
573 3
58check that the unevaluated part of the ternary operator does not do evaluation or assignment
5920 20
6030 30
6120 20
6230 30
63check precedence of assignment vs. conditional operator
64hush: arithmetic syntax error
65check precedence of assignment vs. conditional operator
66associativity of assignment-operator operator
676 6
686,5,3 6,5,3
69octal, hex
70263 263
71255 255
7240 40
73hush: arithmetic syntax error
74hush: divide by zero
75hush: can't execute 'let': No such file or directory
76hush: arithmetic syntax error
77hush: can't execute 'let': No such file or directory
78abc
79def
80ghi
81hush: arithmetic syntax error
8216 16
83hush: arithmetic syntax error
84hush: malformed ?: operator
85hush: arithmetic syntax error
869 9
87hush: arithmetic syntax error
88hush: arithmetic syntax error
899 9
909 9
919 9
927 7
937
944 4
9532767 32767
9632768 32768
97131072 131072
982147483647 2147483647
991 1
1004 4
1014 4
1025 5
1035 5
1044 4
1053 3
1063 3
1074 4
1084 4
109hush: arithmetic syntax error
110hush: arithmetic syntax error
111hush: arithmetic syntax error
112hush: arithmetic syntax error
113hush: arithmetic syntax error
1144 4
1157 7
116-7 -7
117hush: arithmetic syntax error
118hush: arithmetic syntax error
119hush: arithmetic syntax error
120hush: arithmetic syntax error
1216 6
1223 3
1237 7
1244 4
1250 0
1263 3
1277 7
1282 2
129-2 -2
1301 1
131hush: arithmetic syntax error
132hush: arithmetic syntax error
133hush: arithmetic syntax error
134hush: arithmetic syntax error
135hush: arithmetic syntax error
1365 5
1371 1
1384 4
1390 0
140hush: arithmetic syntax error
141hush: arithmetic syntax error
1428 12
143hush: arithmetic syntax error
14442
14542
14642
147hush: can't execute 'a[b[c]d]=e': No such file or directory
Note: See TracBrowser for help on using the repository browser.