From 30a4c32a4d21728a7e25025f70fcc1d7cd722fe0 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 19 May 2019 16:35:56 +0200 Subject: [PATCH] hush: remove test for "echo ${-}" errorring out - now it works Signed-off-by: Denys Vlasenko --- shell/ash_test/ash-vars/param_expand_default.tests | 1 - shell/hush_test/hush-vars/param_expand_default.right | 1 - shell/hush_test/hush-vars/param_expand_default.tests | 2 -- 3 files changed, 4 deletions(-) diff --git a/shell/ash_test/ash-vars/param_expand_default.tests b/shell/ash_test/ash-vars/param_expand_default.tests index b5edfe1c5..dbd3e2218 100755 --- a/shell/ash_test/ash-vars/param_expand_default.tests +++ b/shell/ash_test/ash-vars/param_expand_default.tests @@ -1,6 +1,5 @@ # first try some invalid patterns (do in subshell due to parsing error) # (set argv0 to "SHELL" to avoid "/path/to/shell: blah" in error messages) -# valid in bash and ash (same as $-): "$THIS_SH" -c 'echo ${-}' SHELL "$THIS_SH" -c 'echo ${:-}' SHELL # now some funky ones diff --git a/shell/hush_test/hush-vars/param_expand_default.right b/shell/hush_test/hush-vars/param_expand_default.right index dbade3003..8bd0814b0 100644 --- a/shell/hush_test/hush-vars/param_expand_default.right +++ b/shell/hush_test/hush-vars/param_expand_default.right @@ -1,5 +1,4 @@ hush: syntax error: unterminated ${name} -hush: syntax error: unterminated ${name} _0 _0 _ _ _ _word _word _aaaa _aaaa _aaaa _aaaa _aaaa diff --git a/shell/hush_test/hush-vars/param_expand_default.tests b/shell/hush_test/hush-vars/param_expand_default.tests index 754827ab3..dbd3e2218 100755 --- a/shell/hush_test/hush-vars/param_expand_default.tests +++ b/shell/hush_test/hush-vars/param_expand_default.tests @@ -1,7 +1,5 @@ # first try some invalid patterns (do in subshell due to parsing error) # (set argv0 to "SHELL" to avoid "/path/to/shell: blah" in error messages) -# valid in bash and ash (same as $-), not supported in hush (yet?): -"$THIS_SH" -c 'echo ${-}' SHELL "$THIS_SH" -c 'echo ${:-}' SHELL # now some funky ones -- 2.25.1