]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - tests/arith.right
Bash-4.4 distribution sources and documentation
[thirdparty/bash.git] / tests / arith.right
index 680d9a954f6406b5bf98ef10ede99ab9d0e1d3df..13c8c7106c8aef43b9c46a7d33b1bf56407a81e2 100644 (file)
@@ -141,6 +141,8 @@ ok
 -7
 7
 7
+2
+2
 ./arith1.sub: line 2: 4-- : syntax error: operand expected (error token is "- ")
 ./arith1.sub: line 3: 4++ : syntax error: operand expected (error token is "+ ")
 ./arith1.sub: line 4: 4 -- : syntax error: operand expected (error token is "- ")
@@ -234,14 +236,20 @@ ok
 0
 0, 0
 0, 1
+efg
+e
+efg
+e
+abcdefg
+efg
 8 12
-./arith.tests: line 286: ((: x=9 y=41 : syntax error in expression (error token is "y=41 ")
-./arith.tests: line 290: a b: syntax error in expression (error token is "b")
-./arith.tests: line 291: ((: a b: syntax error in expression (error token is "b")
+./arith.tests: line 294: ((: x=9 y=41 : syntax error in expression (error token is "y=41 ")
+./arith.tests: line 298: a b: syntax error in expression (error token is "b")
+./arith.tests: line 299: ((: a b: syntax error in expression (error token is "b")
 42
 42
 42
 42
 42
 42
-./arith.tests: line 302: b[c]d: syntax error in expression (error token is "d")
+./arith.tests: line 310: b[c]d: syntax error in expression (error token is "d")