summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-arith/arith.right
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-arith/arith.right')
-rw-r--r--shell/hush_test/hush-arith/arith.right17
1 files changed, 17 insertions, 0 deletions
diff --git a/shell/hush_test/hush-arith/arith.right b/shell/hush_test/hush-arith/arith.right
index 2c389ca..a861229 100644
--- a/shell/hush_test/hush-arith/arith.right
+++ b/shell/hush_test/hush-arith/arith.right
@@ -70,6 +70,19 @@ octal, hex
263 263
255 255
40 40
+other bases
+10 10
+10 10
+10 10
+10 10
+10 10
+10 10
+36 36
+36 36
+62 62
+63 63
+missing number after base
+0 0
hush: arithmetic syntax error
hush: divide by zero
hush: can't execute 'let': No such file or directory
@@ -149,6 +162,10 @@ hush: arithmetic syntax error
-7
7
7
+-7 -7
+-7 -7
+7 7
+7 7
8 12
hush: arithmetic syntax error
42