aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-vars/var3.tests
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-01 14:09:09 -0400
committerMike Frysinger <vapier@gentoo.org>2009-06-01 14:16:43 -0400
commitdc3bc40578e0d9a4f4437d5b9018c1dd02900584 (patch)
treef6ac1edd6f84a81fdda2a84ac29d06a0181904d0 /shell/hush_test/hush-vars/var3.tests
parentff64fb9e3100ff89446b54af3ef80cd86d4730f5 (diff)
downloadbusybox-dc3bc40578e0d9a4f4437d5b9018c1dd02900584.tar.gz
hush: add support for special vars in braces
Some people like to use ${?} rather than $?, so make sure we support all the special single char vars that use this form. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'shell/hush_test/hush-vars/var3.tests')
-rwxr-xr-xshell/hush_test/hush-vars/var3.tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush_test/hush-vars/var3.tests b/shell/hush_test/hush-vars/var3.tests
index e09f43317..aea36d62d 100755
--- a/shell/hush_test/hush-vars/var3.tests
+++ b/shell/hush_test/hush-vars/var3.tests
@@ -1,4 +1,4 @@
# reject invalid vars
"$THIS_SH" -c 'echo ${1q}'
"$THIS_SH" -c 'echo ${&}'
-"$THIS_SH" -c 'echo ${$}'
+#"$THIS_SH" -c 'echo ${$}' -- this is valid as it's the same as $$