hush/shell/ash_test
Ron Yorston 3df47f9cbb ash: do not expand tilde in parameter expansion within quotes
Test case:
   unset a
   echo "${a:-~root}"
Old result:
   /root
New result:
   ~root

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

function                                             old     new   delta
evalvar                                              598     604      +6
parse_command                                       1440    1443      +3
localcmd                                             325     327      +2
readtoken1                                          3199    3200      +1
argstr                                              1180    1164     -16
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/1 up/down: 12/-16)             Total: -4 bytes

Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2015-05-18 09:53:26 +02:00
..
ash-alias small ash testsuite, adapted from bash 2007-03-05 00:27:50 +00:00
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 add ash testcases 2007-03-05 20:46:46 +00:00
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 shell: split read builtin from ash 2010-01-12 22:11:24 +01:00
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: fix unset in standalone mode 2010-06-18 14:23:47 +02:00
ash-vars ash: do not expand tilde in parameter expansion within quotes 2015-05-18 09:53:26 +02:00
printenv.c - use EXIT_{SUCCESS,FAILURE}. No object-code changes 2008-05-19 09:29:47 +00:00
recho.c whitespace cleanup 2010-10-29 11:46:52 +02:00
run-all ash: fix . builtin 2009-06-14 19:42:12 +02:00
zecho.c whitespace cleanup 2010-10-29 11:46:52 +02:00