diff options
author | Chet Ramey <chet.ramey@case.edu> | 2023-05-15 13:30:18 -0400 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2023-05-15 13:30:18 -0400 |
commit | e44e3d50dee26d12927baca188ad2a44a0135173 (patch) | |
tree | e4ff8c47078cdd7b23901205f7e1db26cd1f2242 /tests/exportfunc.tests | |
parent | c375f8f45f4882db3098f9b54a19b75d2b176537 (diff) | |
download | bash-devel.tar.gz |
complete initial implementation of nofork command substitution (${ command; })devel
Diffstat (limited to 'tests/exportfunc.tests')
-rw-r--r-- | tests/exportfunc.tests | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/exportfunc.tests b/tests/exportfunc.tests index 1a8b8a20..64eb38bb 100644 --- a/tests/exportfunc.tests +++ b/tests/exportfunc.tests @@ -78,8 +78,7 @@ env -i BASH_FUNC_x%%='() { _; } >_[${ $() }] { id; }' ${THIS_SH} -c : 2>/dev/nul env BASH_FUNC_x%%=$'() { _;}>_[$($())]\n{ echo vuln;}' ${THIS_SH} -c : 2>/dev/null eval 'x() { _;}>_[$($())] { echo vuln;}' 2>/dev/null -echo this will fail now that '${ ' has syntactic meaning - +# this fails looking for closing `}' now that `${ ' has syntactic meaning eval 'foo() { _; } >_[${ $() }] ;{ echo eval ok; }' # other tests fixed in bash43-030 concerning function name transformation |