]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/arith.right
Bash-4.3 patch 7
[thirdparty/bash.git] / tests / arith.right
CommitLineData
ccc6cda3
JA
1163
2166
34
416
58
62
74
82
92
101
110
120
130
141
151
162
17-3
18-2
191
200
212
22131072
2329
2433
2549
261
271
280
290
301
311
321
332
343
351
3658
372
3860
391
40256
4116
4262
434
4429
455
46-4
474
481
4932
5032
511
521
5332
3185942a 544
ccc6cda3
JA
5520
561,i+=2
5730
581,j+=2
5920
601,i+=2
6130
621,j+=2
3185942a 63./arith.tests: line 114: 1 ? 20 : x+=2: attempted assignment to non-variable (error token is "+=2")
ccc6cda3
JA
6420
656
666,5,3
67263
68255
69255
70127
7136
7240
7310
7410
7510
7610
7710
7810
7936
8036
8162
8263
3185942a 83./arith.tests: line 149: 3425#56: invalid arithmetic base (error token is "3425#56")
ccc6cda3 840
3185942a
JA
85./arith.tests: line 155: 7 = 43 : attempted assignment to non-variable (error token is "= 43 ")
86./arith.tests: line 156: 2#44: value too great for base (error token is "2#44")
87./arith.tests: line 157: 44 / 0 : division by 0 (error token is "0 ")
88./arith.tests: line 158: let: jv += $iv: syntax error: operand expected (error token is "$iv")
89./arith.tests: line 159: jv += $iv : syntax error: operand expected (error token is "$iv ")
90./arith.tests: line 160: let: rv = 7 + (43 * 6: missing `)' (error token is "6")
91./arith.tests: line 164: 0#4: invalid number (error token is "0#4")
92./arith.tests: line 165: 2#110#11: invalid number (error token is "2#110#11")
d166f048
JA
93abc
94def
95ghi
96ok
976
981
990
3185942a 100./arith.tests: line 183: 4 + : syntax error: operand expected (error token is "+ ")
d166f048 10116
3185942a
JA
102./arith.tests: line 188: 4 ? : 3 + 5 : expression expected (error token is ": 3 + 5 ")
103./arith.tests: line 189: 1 ? 20 : `:' expected for conditional expression (error token is "20 ")
104./arith.tests: line 190: 4 ? 20 : : expression expected (error token is ": ")
d166f048 1059
3185942a 106./arith.tests: line 196: 0 && B=42 : attempted assignment to non-variable (error token is "=42 ")
d166f048 1079
3185942a 108./arith.tests: line 199: 1 || B=88 : attempted assignment to non-variable (error token is "=88 ")
d166f048
JA
1099
1100
1119
1120
1139
1141
1159
1167
1177
1184
cce855bc
JA
11932767
12032768
121131072
1222147483647
1231
bb70624e
JA
1244
1254
1265
1275
1284
1293
1303
1314
1324
1337
3185942a
JA
134./arith.tests: line 247: 7-- : syntax error: operand expected (error token is "- ")
135./arith.tests: line 249: --x=7 : attempted assignment to non-variable (error token is "=7 ")
136./arith.tests: line 250: ++x=7 : attempted assignment to non-variable (error token is "=7 ")
137./arith.tests: line 252: x++=7 : attempted assignment to non-variable (error token is "=7 ")
138./arith.tests: line 253: x--=7 : attempted assignment to non-variable (error token is "=7 ")
bb70624e
JA
1394
1407
141-7
1427
1437
3185942a
JA
144./arith1.sub: line 2: 4-- : syntax error: operand expected (error token is "- ")
145./arith1.sub: line 3: 4++ : syntax error: operand expected (error token is "+ ")
146./arith1.sub: line 4: 4 -- : syntax error: operand expected (error token is "- ")
147./arith1.sub: line 5: 4 ++ : syntax error: operand expected (error token is "+ ")
b80f6443
JA
1481
1492
1501
1512
1526
1533
1547
1554
1560
1573
1587
1592
160-2
1611
3185942a 162./arith1.sub: line 35: ((: ++ : syntax error: operand expected (error token is "+ ")
b80f6443
JA
1637
1647
3185942a 165./arith1.sub: line 38: ((: -- : syntax error: operand expected (error token is "- ")
b80f6443
JA
1667
1677
1687
1697
1701
1712
1721
1732
1741
1750
1765
1771
1786
1792
1803
1811
1824
1830
3185942a 184./arith2.sub: line 33: ((: -- : syntax error: operand expected (error token is "- ")
b80f6443
JA
185-7
186-7
3185942a 187./arith2.sub: line 37: ((: ++ : syntax error: operand expected (error token is "+ ")
b80f6443
JA
1887
1897
190-7
191-7
1927
1937
495aee44
CR
1941
1951
1964
1975
198-3
1992
2004
2015000
2025000
2031
2040
2050
2061
2072147483649
ac50fbac
CR
2080
2090
2100
2110
2120
2130
214-9223372036854775808
215-9223372036854775808
216-9223372036854775808
217-9223372036854775808
218-9223372036854775808
219-9223372036854775808
220-9223372036854775808
221-9223372036854775808
222-9223372036854775808
223-9223372036854775808
2249223372036854775805 9223372036854775806 9223372036854775807
225123 456
226123 456
227123 456
228123 456
229123 456
230123 456
2311
2321 2 3 4 5 6 7
2330 1 2 3 4 5 6 7
2340
2350, 0
2360, 1
bb70624e 2378 12
ac50fbac
CR
238./arith.tests: line 286: ((: x=9 y=41 : syntax error in expression (error token is "y=41 ")
239./arith.tests: line 290: a b: syntax error in expression (error token is "b")
240./arith.tests: line 291: ((: a b: syntax error in expression (error token is "b")
28ef6c31
JA
24142
24242
24342
24442
24542
24642
ac50fbac 247./arith.tests: line 302: b[c]d: syntax error in expression (error token is "d")