diff options
author | Jari Aalto <jari.aalto@cante.net> | 1997-06-05 14:59:13 +0000 |
---|---|---|
committer | Jari Aalto <jari.aalto@cante.net> | 2009-09-12 16:46:50 +0000 |
commit | d166f048818e10cf3799aa24a174fb22835f1acc (patch) | |
tree | 1ca27f9243900f8b236d0cde6a3862002aea9e19 /tests/arith.right | |
parent | ccc6cda312fea9f0468ee65b8f368e9653e1380b (diff) | |
download | android_external_bash-d166f048818e10cf3799aa24a174fb22835f1acc.tar.gz android_external_bash-d166f048818e10cf3799aa24a174fb22835f1acc.tar.bz2 android_external_bash-d166f048818e10cf3799aa24a174fb22835f1acc.zip |
Imported from ../bash-2.01.tar.gz.
Diffstat (limited to 'tests/arith.right')
-rw-r--r-- | tests/arith.right | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/arith.right b/tests/arith.right index a369bd8..54c087d 100644 --- a/tests/arith.right +++ b/tests/arith.right @@ -89,3 +89,29 @@ ./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") +abc +def +ghi +ok +6 +1 +0 +./arith.tests: 4 + : syntax error: operand expected (error token is " ") +16 +./arith.tests: 4 ? : 3 + 5 : expression expected (error token is ": 3 + 5 ") +./arith.tests: 1 ? 20 : `:' expected for conditional expression (error token is " ") +./arith.tests: 4 ? 20 : : expression expected (error token is " ") +9 +./arith.tests: 0 && B=42 : attempted assignment to non-variable (error token is "=42 ") +9 +./arith.tests: 1 || B=88 : attempted assignment to non-variable (error token is "=88 ") +9 +0 +9 +0 +9 +1 +9 +7 +7 +4 |