busybox/shell/ash_test
Ron Yorston ad88bdee0c ash: remove arithmetic expansion collapsing at parse time
Collapsing arithmetic expansion is incorrect when the inner arithmetic
expansion is a part of a parameter expansion.

Test case:
   unset a
   echo $((3 + ${a:=$((4 + 5))}))
   echo $a
Old result:
   12
   (4 + 5)
New result:
   12
   9

Based on commit bb777a6 from git://git.kernel.org/pub/scm/utils/dash/dash.git
by Herbert Xu

function                                             old     new   delta
readtoken1                                          3180    3163     -17

Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2015-05-18 09:56:16 +02:00
..
ash-alias
ash-arith shell/math: deconvolute and explain ?: handling. Give better error message 2010-09-16 11:50:46 +02:00
ash-heredoc ash: fix handling of duplicate "local" 2015-04-18 19:36:38 +02:00
ash-invert
ash-misc ash: make "locak VAR" unset VAR (bash does that) 2014-03-16 18:41:11 +01:00
ash-quoting ash: fix obscure case of replacing + globbing + backslashes 2010-06-26 22:55:44 +02:00
ash-read
ash-redir ash: fix a bug in >${varexp} handling. Closes 5282 2012-06-09 02:06:57 +02:00
ash-signals slightly better wording in comments 2011-02-21 03:47:50 +01:00
ash-standalone
ash-vars ash: remove arithmetic expansion collapsing at parse time 2015-05-18 09:56:16 +02:00
printenv.c
recho.c whitespace cleanup 2010-10-29 11:46:52 +02:00
run-all
zecho.c whitespace cleanup 2010-10-29 11:46:52 +02:00