3
0

var6.tests 235 B

12345
  1. # reject invalid vars
  2. # (set argv0 to "SHELL" to avoid "/path/to/shell: blah" in error messages)
  3. "$THIS_SH" -c 'echo ${1q}' SHELL
  4. "$THIS_SH" -c 'echo ${&}' SHELL
  5. #"$THIS_SH" -c 'echo ${$}' SHELL -- this is valid as it's the same as $$