shell: syncronize ash and hush heredoc3.tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
959cb67428
commit
bb963bda62
@ -1 +1,9 @@
|
|||||||
hello
|
exit EOF-f
|
||||||
|
"
|
||||||
|
echo $f
|
||||||
|
echo `echo Hello World`
|
||||||
|
moo
|
||||||
|
EOF-f
|
||||||
|
EOF-f f
|
||||||
|
EOF-f
|
||||||
|
Ok
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
echo hello >greeting
|
f=1
|
||||||
cat <<EOF &&
|
cat <<- EOF-f""
|
||||||
$(cat greeting)
|
exit EOF-f
|
||||||
EOF
|
"
|
||||||
{
|
echo $f
|
||||||
echo $?
|
echo `echo Hello World`
|
||||||
cat greeting
|
moo
|
||||||
} >/dev/null
|
EOF-f
|
||||||
rm greeting
|
EOF-f f
|
||||||
|
EOF-f
|
||||||
|
EOF-f
|
||||||
|
echo Ok
|
||||||
|
1
shell/ash_test/ash-heredoc/heredoc9.right
Normal file
1
shell/ash_test/ash-heredoc/heredoc9.right
Normal file
@ -0,0 +1 @@
|
|||||||
|
hello
|
9
shell/ash_test/ash-heredoc/heredoc9.tests
Executable file
9
shell/ash_test/ash-heredoc/heredoc9.tests
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
echo hello >greeting
|
||||||
|
cat <<EOF &&
|
||||||
|
$(cat greeting)
|
||||||
|
EOF
|
||||||
|
{
|
||||||
|
echo $?
|
||||||
|
cat greeting
|
||||||
|
} >/dev/null
|
||||||
|
rm greeting
|
Loading…
x
Reference in New Issue
Block a user