sh testsuite: create hush-heredoc/* and move files around
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
9
shell/ash_test/ash-heredoc/heredoc5.right
Normal file
9
shell/ash_test/ash-heredoc/heredoc5.right
Normal file
@@ -0,0 +1,9 @@
|
||||
exit EOF-f
|
||||
"
|
||||
echo 1
|
||||
echo Hello World
|
||||
moo
|
||||
EOF-f
|
||||
EOF-f f
|
||||
EOF-f
|
||||
Ok
|
12
shell/ash_test/ash-heredoc/heredoc5.tests
Executable file
12
shell/ash_test/ash-heredoc/heredoc5.tests
Executable file
@@ -0,0 +1,12 @@
|
||||
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
|
Reference in New Issue
Block a user