aboutsummaryrefslogtreecommitdiff
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.right9
1 files changed, 9 insertions, 0 deletions
diff --git a/shell/hush_test/hush-arith/arith.right b/shell/hush_test/hush-arith/arith.right
index 83155fb03..718c26ad0 100644
--- a/shell/hush_test/hush-arith/arith.right
+++ b/shell/hush_test/hush-arith/arith.right
@@ -43,21 +43,30 @@ Format: 'expected actual'
4 4
29 29
5 5
+unary plus, minus
-4 -4
4 4
+conditional expressions
1 1
32 32
32 32
1 1
1 1
32 32
+check that parentheses in `cmd` are interpreted correctly
+3 3
+check that the unevaluated part of the ternary operator does not do evaluation or assignment
20 20
30 30
20 20
30 30
+check precedence of assignment vs. conditional operator
hush: error in arithmetic
+check precedence of assignment vs. conditional operator
+associativity of assignment-operator operator
6 6
6,5,3 6,5,3
+octal, hex
263 263
255 255
40 40