aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-vars/param_expand_assign.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-vars/param_expand_assign.tests')
-rwxr-xr-xshell/hush_test/hush-vars/param_expand_assign.tests24
1 files changed, 12 insertions, 12 deletions
diff --git a/shell/hush_test/hush-vars/param_expand_assign.tests b/shell/hush_test/hush-vars/param_expand_assign.tests
index 1fba556e4..149cb20df 100755
--- a/shell/hush_test/hush-vars/param_expand_assign.tests
+++ b/shell/hush_test/hush-vars/param_expand_assign.tests
@@ -1,22 +1,22 @@
# first try some invalid patterns (do in subshell due to parsing error)
-hush -c 'echo ${=}'
-hush -c 'echo ${:=}'
+"$THIS_SH" -c 'echo ${=}'
+"$THIS_SH" -c 'echo ${:=}'
# now some funky ones
-hush -c 'echo ${#=}'
-hush -c 'echo ${#:=}'
+"$THIS_SH" -c 'echo ${#=}'
+"$THIS_SH" -c 'echo ${#:=}'
# should error out
-hush -c 'set --; echo _${1=}'
-hush -c 'set --; echo _${1:=}'
-hush -c 'set --; echo _${1=word}'
-hush -c 'set --; echo _${1:=word}'
+"$THIS_SH" -c 'set --; echo _${1=}'
+"$THIS_SH" -c 'set --; echo _${1:=}'
+"$THIS_SH" -c 'set --; echo _${1=word}'
+"$THIS_SH" -c 'set --; echo _${1:=word}'
# should not error
-hush -c 'set aa; echo _${1=}'
-hush -c 'set aa; echo _${1:=}'
-hush -c 'set aa; echo _${1=word}'
-hush -c 'set aa; echo _${1:=word}'
+"$THIS_SH" -c 'set aa; echo _${1=}'
+"$THIS_SH" -c 'set aa; echo _${1:=}'
+"$THIS_SH" -c 'set aa; echo _${1=word}'
+"$THIS_SH" -c 'set aa; echo _${1:=word}'
# should work fine
unset f; echo _$f