diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-07-25 22:03:16 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-07-25 22:03:16 +0200 |
commit | 05c5d745f7b14e265144489b7809a3d6dbbadec6 (patch) | |
tree | 2c845850220a961dfb03d36185f0a1f8ec03fddb /shell/hush_test | |
parent | 53d45c934f54b7931cc736eba42903cb1f6d4632 (diff) | |
download | busybox-w32-05c5d745f7b14e265144489b7809a3d6dbbadec6.tar.gz busybox-w32-05c5d745f7b14e265144489b7809a3d6dbbadec6.tar.bz2 busybox-w32-05c5d745f7b14e265144489b7809a3d6dbbadec6.zip |
ahell: update testsuite
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test')
-rwxr-xr-x | shell/hush_test/hush-vars/var6.tests | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/shell/hush_test/hush-vars/var6.tests b/shell/hush_test/hush-vars/var6.tests index aea36d62d..626e60ee1 100755 --- a/shell/hush_test/hush-vars/var6.tests +++ b/shell/hush_test/hush-vars/var6.tests | |||
@@ -1,4 +1,5 @@ | |||
1 | # reject invalid vars | 1 | # reject invalid vars |
2 | "$THIS_SH" -c 'echo ${1q}' | 2 | # (set argv0 to "SHELL" to avoid "/path/to/shell: blah" in error messages) |
3 | "$THIS_SH" -c 'echo ${&}' | 3 | "$THIS_SH" -c 'echo ${1q}' SHELL |
4 | #"$THIS_SH" -c 'echo ${$}' -- this is valid as it's the same as $$ | 4 | "$THIS_SH" -c 'echo ${&}' SHELL |
5 | #"$THIS_SH" -c 'echo ${$}' SHELL -- this is valid as it's the same as $$ | ||