sh testsuite: create hush-heredoc/* and move files around
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
1 parent
5d6b8729ed
commit
1b73f8471a
16 files changed
+30
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,2 @@
|
||||
bar
|
||||
bar
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
foo () {
|
||||
cat <<EOF && { echo "$1" ; }
|
||||
$1
|
||||
EOF
|
||||
}
|
||||
|
||||
foo "bar"
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,9 @@
|
||||
exit EOF-f
|
||||
"
|
||||
echo 1
|
||||
echo Hello World
|
||||
moo
|
||||
EOF-f
|
||||
EOF-f f
|
||||
EOF-f
|
||||
Ok
|
||||
Executable
+12
@@ -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
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user