ahell: update testsuite

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2021-07-25 22:03:16 +02:00
parent 53d45c934f
commit 05c5d745f7
7 changed files with 33 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
# reject invalid vars
"$THIS_SH" -c 'echo ${1q}'
"$THIS_SH" -c 'echo ${&}'
#"$THIS_SH" -c 'echo ${$}' -- this is valid as it's the same as $$
# (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 $$