]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/arith.right
Imported from ../bash-2.05.tar.gz.
[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
5420
551,i+=2
5630
571,j+=2
5820
591,i+=2
6030
611,j+=2
62./arith.tests: 1 ? 20 : x+=2: attempted assignment to non-variable (error token is "+=2")
6320
646
656,5,3
66263
67255
68255
69127
7036
7140
7210
7310
7410
7510
7610
7710
7836
7936
8062
8163
82./arith.tests: 3425#56: illegal arithmetic base (error token is "3425#56")
830
84./arith.tests: 7 = 43 : attempted assignment to non-variable (error token is "= 43 ")
85./arith.tests: 2#44: value too great for base (error token is "2#44")
86./arith.tests: 44 / 0 : division by 0 (error token is " ")
87./arith.tests: let: jv += $iv: syntax error: operand expected (error token is "$iv")
88./arith.tests: jv += $iv : syntax error: operand expected (error token is "$iv ")
89./arith.tests: let: rv = 7 + (43 * 6: missing `)' (error token is "6")
90./arith.tests: 0#4: bad number (error token is "0#4")
91./arith.tests: 2#110#11: bad number (error token is "2#110#11")
d166f048
JA
92abc
93def
94ghi
95ok
966
971
980
99./arith.tests: 4 + : syntax error: operand expected (error token is " ")
10016
101./arith.tests: 4 ? : 3 + 5 : expression expected (error token is ": 3 + 5 ")
102./arith.tests: 1 ? 20 : `:' expected for conditional expression (error token is " ")
103./arith.tests: 4 ? 20 : : expression expected (error token is " ")
1049
105./arith.tests: 0 && B=42 : attempted assignment to non-variable (error token is "=42 ")
1069
107./arith.tests: 1 || B=88 : attempted assignment to non-variable (error token is "=88 ")
1089
1090
1109
1110
1129
1131
1149
1157
1167
1174
cce855bc
JA
11832767
11932768
120131072
1212147483647
1221
bb70624e
JA
1234
1244
1255
1265
1274
1283
1293
1304
1314
1327
133./arith.tests: 7-- : syntax error: operand expected (error token is " ")
134./arith.tests: --x=7 : attempted assignment to non-variable (error token is "=7 ")
135./arith.tests: ++x=7 : attempted assignment to non-variable (error token is "=7 ")
136./arith.tests: x++=7 : attempted assignment to non-variable (error token is "=7 ")
137./arith.tests: x--=7 : attempted assignment to non-variable (error token is "=7 ")
1384
1397
140-7
1417
1427
1438 12
144./arith.tests: ((: x=9 y=41 : syntax error in expression (error token is "y=41 ")
145./arith.tests: a b: syntax error in expression (error token is "b")
146./arith.tests: ((: a b: syntax error in expression (error token is "b")
28ef6c31
JA
14742
14842
14942
15042
15142
15242