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