busybox/shell/hush_test/hush-vars/var6.tests
Denys Vlasenko 05c5d745f7 ahell: update testsuite
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2021-07-25 22:03:16 +02:00

6 lines
235 B
Plaintext
Executable File

# 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 $$