busybox/shell/ash_test
Denys Vlasenko b28d4c3462 ash: [VAR] Move unsetvar functionality into setvareq
Upstream commit:

    Date: Tue, 25 May 2010 20:55:05 +0800
    [VAR] Move unsetvar functionality into setvareq

    This patch moves the unsetvar code into setvareq so that we can
    no have a pathological case of an unset variable hanging around
    unless it has a bit pinning it like VEXPORT.

    Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

function                                             old     new   delta
setvareq                                             227     303     +76
expmeta                                              517     521      +4
localcmd                                             364     366      +2
unsetcmd                                              96      76     -20
unsetvar                                             129       7    -122
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/2 up/down: 82/-142)           Total: -60 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-07-25 16:29:36 +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-glob ash: fix globbing bugs when using glibc glob() 2016-10-02 15:17:15 +02:00
ash-heredoc shell: syncronize ash and hush heredoc3.tests 2017-07-06 18:19:35 +02:00
ash-invert add ash testcases 2007-03-05 20:46:46 +00:00
ash-misc shell: some additions to *sh-misc/* tests 2017-07-24 18:51:40 +02:00
ash-parsing ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
ash-psubst ash: add most of hush process subst tests 2017-07-24 12:49:49 +02:00
ash-quoting ash: improve set -x to quote strings as necessary 2017-07-21 13:20:14 +02:00
ash-read shell: optional support for read -t N.NNN, closes 10101 2017-07-20 16:09:31 +02:00
ash-redir shell: sync redir/* tests 2017-07-06 21:01:50 +02:00
ash-signals ash: copy three tests from hush_test/hush-signals/* 2017-07-24 19:42:46 +02:00
ash-standalone ash: fix unset in standalone mode 2010-06-18 14:23:47 +02:00
ash-vars ash: [VAR] Move unsetvar functionality into setvareq 2017-07-25 16:29:36 +02:00
.gitignore ash_test: ignore generated files 2016-03-22 18:15:24 -04:00
printenv.c ash_test: printenv: fix missing includes 2016-03-22 18:15:14 -04:00
recho.c whitespace cleanup 2010-10-29 11:46:52 +02:00
run-all ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
zecho.c whitespace cleanup 2010-10-29 11:46:52 +02:00