diff options
author | Denys Vlasenko | 2017-07-06 18:19:35 +0200 |
---|---|---|
committer | Denys Vlasenko | 2017-07-06 18:19:35 +0200 |
commit | bb963bda62cc8b0965a921df70dfea44c4378163 (patch) | |
tree | 80039a5ec18fefdf74c0927b0e1ca58b8bf8d82f /shell/ash_test/ash-heredoc/heredoc3.tests | |
parent | 959cb6742832a3b403a5d0116088a09f33afe927 (diff) | |
download | busybox-bb963bda62cc8b0965a921df70dfea44c4378163.zip busybox-bb963bda62cc8b0965a921df70dfea44c4378163.tar.gz |
shell: syncronize ash and hush heredoc3.tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-heredoc/heredoc3.tests')
-rwxr-xr-x | shell/ash_test/ash-heredoc/heredoc3.tests | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/shell/ash_test/ash-heredoc/heredoc3.tests b/shell/ash_test/ash-heredoc/heredoc3.tests index 96c227c..938577a 100755 --- a/shell/ash_test/ash-heredoc/heredoc3.tests +++ b/shell/ash_test/ash-heredoc/heredoc3.tests @@ -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 |