Imported from ../bash-2.0.tar.gz.
This commit is contained in:
parent
726f63884d
commit
ccc6cda312
502 changed files with 91988 additions and 69123 deletions
91
tests/arith.right
Normal file
91
tests/arith.right
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
163
|
||||
166
|
||||
4
|
||||
16
|
||||
8
|
||||
2
|
||||
4
|
||||
2
|
||||
2
|
||||
1
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
1
|
||||
2
|
||||
-3
|
||||
-2
|
||||
1
|
||||
0
|
||||
2
|
||||
131072
|
||||
29
|
||||
33
|
||||
49
|
||||
1
|
||||
1
|
||||
0
|
||||
0
|
||||
1
|
||||
1
|
||||
1
|
||||
2
|
||||
3
|
||||
1
|
||||
58
|
||||
2
|
||||
60
|
||||
1
|
||||
256
|
||||
16
|
||||
62
|
||||
4
|
||||
29
|
||||
5
|
||||
-4
|
||||
4
|
||||
1
|
||||
32
|
||||
32
|
||||
1
|
||||
1
|
||||
32
|
||||
20
|
||||
1,i+=2
|
||||
30
|
||||
1,j+=2
|
||||
20
|
||||
1,i+=2
|
||||
30
|
||||
1,j+=2
|
||||
./arith.tests: 1 ? 20 : x+=2: attempted assignment to non-variable (error token is "+=2")
|
||||
20
|
||||
6
|
||||
6,5,3
|
||||
263
|
||||
255
|
||||
255
|
||||
127
|
||||
36
|
||||
40
|
||||
10
|
||||
10
|
||||
10
|
||||
10
|
||||
10
|
||||
10
|
||||
36
|
||||
36
|
||||
62
|
||||
63
|
||||
./arith.tests: 3425#56: illegal arithmetic base (error token is "3425#56")
|
||||
0
|
||||
./arith.tests: 7 = 43 : attempted assignment to non-variable (error token is "= 43 ")
|
||||
./arith.tests: 2#44: value too great for base (error token is "2#44")
|
||||
./arith.tests: 44 / 0 : division by 0 (error token is " ")
|
||||
./arith.tests: let: jv += $iv: syntax error: operand expected (error token is "$iv")
|
||||
./arith.tests: jv += $iv : syntax error: operand expected (error token is "$iv ")
|
||||
./arith.tests: let: rv = 7 + (43 * 6: missing `)' (error token is "6")
|
||||
./arith.tests: 0#4: bad number (error token is "0#4")
|
||||
./arith.tests: 2#110#11: bad number (error token is "2#110#11")
|
||||
Loading…
Add table
Add a link
Reference in a new issue