From dc3bc40578e0d9a4f4437d5b9018c1dd02900584 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 1 Jun 2009 14:09:09 -0400 Subject: 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 --- shell/hush_test/hush-vars/param_expand_indicate_error.tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/hush_test/hush-vars/param_expand_indicate_error.tests') diff --git a/shell/hush_test/hush-vars/param_expand_indicate_error.tests b/shell/hush_test/hush-vars/param_expand_indicate_error.tests index 1f94181a9..bccba3e1b 100755 --- a/shell/hush_test/hush-vars/param_expand_indicate_error.tests +++ b/shell/hush_test/hush-vars/param_expand_indicate_error.tests @@ -1,7 +1,7 @@ # do all of these in subshells since it's supposed to error out # first try some invalid patterns -"$THIS_SH" -c 'echo ${?}' +#"$THIS_SH" -c 'echo ${?}' -- this is valid as it's the same as $? "$THIS_SH" -c 'echo ${:?}' # then some funky ones -- cgit v1.2.3