busybox/shell/hush_test/hush-vars
Denys Vlasenko c2ce888030 ash: parser: Only accept single-digit parameter expansion outside of braces
Upstream commit:

    Date: Mon, 27 May 2019 13:39:37 +0800
    parser: Only accept single-digit parameter expansion outside of braces

    This patch should fix the problem.

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

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2020-02-17 10:15:35 +01:00
..
empty.right
empty.tests
glob_and_vars.right
glob_and_vars.tests
param_expand_alt2.right ash: parser: Allow newlines within parameter substitution 2018-04-11 12:39:18 +02:00
param_expand_alt2.tests ash: parser: Allow newlines within parameter substitution 2018-04-11 12:39:18 +02:00
param_expand_alt.right
param_expand_alt.tests
param_expand_assign.right
param_expand_assign.tests
param_expand_bash_substring.right
param_expand_bash_substring.tests
param_expand_default.right hush: remove test for "echo ${-}" errorring out - now it works 2019-05-19 16:35:56 +02:00
param_expand_default.tests hush: remove test for "echo ${-}" errorring out - now it works 2019-05-19 16:35:56 +02:00
param_expand_indicate_error.right
param_expand_indicate_error.tests
param_expand_len1.right
param_expand_len1.tests
param_expand_len.right
param_expand_len.tests
param_glob.right
param_glob.tests
param_subshell.right
param_subshell.tests
readonly0.right
readonly0.tests
readonly2.right
readonly2.tests
readonly3.right hush: fix for readonly vars in "ro=A ro=B cmd" case 2018-04-04 21:14:28 +02:00
readonly3.tests hush: fix for readonly vars in "ro=A ro=B cmd" case 2018-04-04 21:14:28 +02:00
star.right
star.tests
unset.right
unset.tests
var1.right
var1.tests
var2.right
var2.tests
var3.right
var3.tests
var4.right
var4.tests
var5.right
var5.tests
var6.right
var6.tests
var_10.right ash: parser: Only accept single-digit parameter expansion outside of braces 2020-02-17 10:15:35 +01:00
var_10.tests ash: parser: Only accept single-digit parameter expansion outside of braces 2020-02-17 10:15:35 +01:00
var_bash1.right
var_bash1.tests
var_bash1a.right
var_bash1a.tests
var_bash1b.right
var_bash1b.tests
var_bash2.right
var_bash2.tests
var_bash3.right ash: parser: Add syntax stack for recursive parsing 2018-04-02 13:15:37 +02:00
var_bash3.tests
var_bash4.right ash: parser: Add syntax stack for recursive parsing 2018-04-02 13:15:37 +02:00
var_bash4.tests
var_bash5.right
var_bash5.tests
var_bash6.right ash: parser: Add syntax stack for recursive parsing 2018-04-02 13:15:37 +02:00
var_bash6.tests ash: parser: Add syntax stack for recursive parsing 2018-04-02 13:15:37 +02:00
var_bash_pattern_starting_with_slash.right ash,hush: properly handle ${v//pattern/repl} if pattern starts with / 2018-08-04 22:25:28 +02:00
var_bash_pattern_starting_with_slash.tests ash,hush: properly handle ${v//pattern/repl} if pattern starts with / 2018-08-04 22:25:28 +02:00
var_bash_repl_empty_pattern.right hush: fix two corner cases in ${v/pattern/repl}. Closes 10686 2018-01-25 14:07:40 +01:00
var_bash_repl_empty_pattern.tests hush: fix two corner cases in ${v/pattern/repl}. Closes 10686 2018-01-25 14:07:40 +01:00
var_bash_repl_empty_var.right hush: fix two corner cases in ${v/pattern/repl}. Closes 10686 2018-01-25 14:07:40 +01:00
var_bash_repl_empty_var.tests hush: fix two corner cases in ${v/pattern/repl}. Closes 10686 2018-01-25 14:07:40 +01:00
var_expand_in_assign.right
var_expand_in_assign.tests
var_expand_in_redir.right
var_expand_in_redir.tests
var_expand_on_ifs.right
var_expand_on_ifs.tests
var_in_pipes.right
var_in_pipes.tests
var_leaks.right
var_leaks.tests
var_LINENO1.right hush: implement $LINENO bashism 2018-01-19 15:52:36 +01:00
var_LINENO1.tests shells: fix var_LINENO1.tests false positive, add it to ash tests too 2018-03-31 20:31:13 +02:00
var_nested1.right hush: fix a bug where we don't properly handle f() { a=A; b=B; }; a= f 2018-04-05 00:51:55 +02:00
var_nested1.tests hush: fix a bug where we don't properly handle f() { a=A; b=B; }; a= f 2018-04-05 00:51:55 +02:00
var_nested2.right hush: fix a bug where we don't properly handle f() { a=A; b=B; }; a= f 2018-04-05 00:51:55 +02:00
var_nested2.tests hush: fix a bug where we don't properly handle f() { a=A; b=B; }; a= f 2018-04-05 00:51:55 +02:00
var_posix1.right
var_posix1.tests
var_preserved.right
var_preserved.tests
var_serial.right
var_serial.tests
var_subst_in_for.right
var_subst_in_for.tests
var_unbackslash1.right
var_unbackslash1.tests
var_unbackslash.right
var_unbackslash.tests
var_wordsplit_ifs1.right
var_wordsplit_ifs1.tests
var_wordsplit_ifs2.right
var_wordsplit_ifs2.tests
var_wordsplit_ifs3.right
var_wordsplit_ifs3.tests
var_wordsplit_ifs4.right hush: IFS fixes 2018-04-11 16:02:58 +02:00
var_wordsplit_ifs4.tests hush: IFS fixes 2018-04-11 16:02:58 +02:00
var_wordsplit_ifs5.right ash: expand: Fix ghost fields with unquoted $@/$* 2018-08-05 14:29:58 +02:00
var_wordsplit_ifs5.tests ash: expand: Fix ghost fields with unquoted $@/$* 2018-08-05 14:29:58 +02:00
var-do-not-collapse-arithmetic-expansion-at-parse-time.right
var-do-not-collapse-arithmetic-expansion-at-parse-time.tests
var-do-not-expand-tilde-in-parameter-expansion-in-quotes.right
var-do-not-expand-tilde-in-parameter-expansion-in-quotes.tests
var-do-not-quote-backslashes-in-parameter-expansions-outside-quotes.right
var-do-not-quote-backslashes-in-parameter-expansions-outside-quotes.tests
var-pattern-replacement-in-parameter-expansion-1.right
var-pattern-replacement-in-parameter-expansion-1.tests
var-pattern-replacement-in-parameter-expansion-2.right
var-pattern-replacement-in-parameter-expansion-2.tests
var-pattern-replacement-in-parameter-expansion-3.right
var-pattern-replacement-in-parameter-expansion-3.tests
var-pattern-replacement-in-parameter-expansion-4.right
var-pattern-replacement-in-parameter-expansion-4.tests
var-pattern-replacement-in-parameter-expansion-5.right
var-pattern-replacement-in-parameter-expansion-5.tests
var-runtime-quote-detection.right
var-runtime-quote-detection.tests
var-utf8-length.right
var-utf8-length.tests