aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-heredoc/heredoc_var_expand1.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-heredoc/heredoc_var_expand1.tests')
-rwxr-xr-xshell/hush_test/hush-heredoc/heredoc_var_expand1.tests11
1 files changed, 11 insertions, 0 deletions
diff --git a/shell/hush_test/hush-heredoc/heredoc_var_expand1.tests b/shell/hush_test/hush-heredoc/heredoc_var_expand1.tests
new file mode 100755
index 000000000..3b00bab7b
--- /dev/null
+++ b/shell/hush_test/hush-heredoc/heredoc_var_expand1.tests
@@ -0,0 +1,11 @@
+x='*'
+
+cat <<- EOF
+ ${x#'*'}
+EOF
+echo Ok1:$?
+
+cat <<EOF
+${x#'*'}
+EOF
+echo Ok2:$?