summaryrefslogtreecommitdiffhomepage
path: root/shell/hush_test/hush-vars/param_expand_indicate_error.tests
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-07-25 15:18:57 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-07-25 15:18:57 +0200
commit645c697372b714f1293a37a185aa62965f600479 (patch)
tree5033362b96737f83526b776818bf4c9a4ef8a9ef /shell/hush_test/hush-vars/param_expand_indicate_error.tests
parent64925384c9cf5e0d986e183577da286bb3207ce7 (diff)
hush: treat ${#?} as "length of $?"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-vars/param_expand_indicate_error.tests')
-rwxr-xr-xshell/hush_test/hush-vars/param_expand_indicate_error.tests2
1 files changed, 1 insertions, 1 deletions
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 be14b1e37..5f946e39a 100755
--- a/shell/hush_test/hush-vars/param_expand_indicate_error.tests
+++ b/shell/hush_test/hush-vars/param_expand_indicate_error.tests
@@ -5,7 +5,7 @@
"$THIS_SH" -c 'echo ${:?}'
# then some funky ones
-# note: bash prints 1 - treats it as "length of $#"? We print 0
+# note: bash prints 1 - treats it as "length of $#"
"$THIS_SH" -c 'echo ${#?}'
# bash prints 0
"$THIS_SH" -c 'echo ${#:?}'