summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-arith/arith.right
diff options
context:
space:
mode:
authorDenys Vlasenko2018-01-28 20:13:33 +0100
committerDenys Vlasenko2018-01-28 20:13:33 +0100
commitf19e3c1c6c96e3c709ac732ff70c586521f792d3 (patch)
treef2b16759f1eae8ac09205f0fb29f822d70610a36 /shell/hush_test/hush-arith/arith.right
parent675d24aeaff29dbce6dc116a4b7c9f6026ed5069 (diff)
downloadbusybox-f19e3c1c6c96e3c709ac732ff70c586521f792d3.zip
busybox-f19e3c1c6c96e3c709ac732ff70c586521f792d3.tar.gz
shell: handle $((NUM++...) like bash does. Closes 10706
function old new delta evaluate_string 680 729 +49 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-arith/arith.right')
-rw-r--r--shell/hush_test/hush-arith/arith.right4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/hush_test/hush-arith/arith.right b/shell/hush_test/hush-arith/arith.right
index 8a201fb..c48e468 100644
--- a/shell/hush_test/hush-arith/arith.right
+++ b/shell/hush_test/hush-arith/arith.right
@@ -135,6 +135,10 @@ hush: arithmetic syntax error
hush: arithmetic syntax error
5 5
1 1
+6 6
+2 2
+3 3
+1 1
4 4
0 0
hush: arithmetic syntax error