shell/ash_test/ash-heredoc/heredoc3.right+9 -1
| @@ -1 +1,9 @@ |
| - | hello |
| + | exit EOF-f |
| + | " |
| + | echo $f |
| + | echo `echo Hello World` |
| + | moo |
| + | EOF-f |
| + | EOF-f f |
| + | EOF-f |
| + | Ok |
shell/ash_test/ash-heredoc/heredoc3.tests+12 -9
| @@ -1,9 +1,12 @@ |
| - | echo hello >greeting |
| - | cat <<EOF && |
| - | $(cat greeting) |
| - | EOF |
| - | { |
| - | echo $? |
| - | cat greeting |
| - | } >/dev/null |
| - | rm greeting |
| + | f=1 |
| + | cat <<- EOF-f"" |
| + | exit EOF-f |
| + | " |
| + | echo $f |
| + | echo `echo Hello World` |
| + | moo |
| + | EOF-f |
| + | EOF-f f |
| + | EOF-f |
| + | EOF-f |
| + | echo Ok |
shell/ash_test/ash-heredoc/heredoc9.right+1 -0
shell/ash_test/ash-heredoc/heredoc9.tests+9 -0
| @@ -0,0 +1,9 @@ |
| + | echo hello >greeting |
| + | cat <<EOF && |
| + | $(cat greeting) |
| + | EOF |
| + | { |
| + | echo $? |
| + | cat greeting |
| + | } >/dev/null |
| + | rm greeting |