diff options
Diffstat (limited to 'shell/hush_test')
-rw-r--r-- | shell/hush_test/hush-heredoc/heredoc1.right (renamed from shell/hush_test/hush-misc/heredoc1.right) | 0 | ||||
-rwxr-xr-x | shell/hush_test/hush-heredoc/heredoc1.tests (renamed from shell/hush_test/hush-misc/heredoc1.tests) | 0 | ||||
-rw-r--r-- | shell/hush_test/hush-heredoc/heredoc2.right | 2 | ||||
-rwxr-xr-x | shell/hush_test/hush-heredoc/heredoc2.tests | 7 | ||||
-rw-r--r-- | shell/hush_test/hush-heredoc/heredoc3.right (renamed from shell/hush_test/hush-misc/heredoc3.right) | 0 | ||||
-rwxr-xr-x | shell/hush_test/hush-heredoc/heredoc3.tests (renamed from shell/hush_test/hush-misc/heredoc3.tests) | 0 | ||||
-rw-r--r-- | shell/hush_test/hush-heredoc/heredoc4.right (renamed from shell/hush_test/hush-misc/heredoc4.right) | 0 | ||||
-rwxr-xr-x | shell/hush_test/hush-heredoc/heredoc4.tests (renamed from shell/hush_test/hush-misc/heredoc4.tests) | 0 | ||||
-rw-r--r-- | shell/hush_test/hush-heredoc/heredoc5.right (renamed from shell/hush_test/hush-misc/heredoc2.right) | 0 | ||||
-rwxr-xr-x | shell/hush_test/hush-heredoc/heredoc5.tests (renamed from shell/hush_test/hush-misc/heredoc2.tests) | 0 | ||||
-rw-r--r-- | shell/hush_test/hush-heredoc/heredoc_backslash1.right (renamed from shell/hush_test/hush-misc/heredoc_backslash1.right) | 0 | ||||
-rwxr-xr-x | shell/hush_test/hush-heredoc/heredoc_backslash1.tests (renamed from shell/hush_test/hush-misc/heredoc_backslash1.tests) | 0 | ||||
-rw-r--r-- | shell/hush_test/hush-heredoc/heredoc_huge.right (renamed from shell/hush_test/hush-misc/heredoc_huge.right) | 0 | ||||
-rwxr-xr-x | shell/hush_test/hush-heredoc/heredoc_huge.tests (renamed from shell/hush_test/hush-misc/heredoc_huge.tests) | 0 |
14 files changed, 9 insertions, 0 deletions
diff --git a/shell/hush_test/hush-misc/heredoc1.right b/shell/hush_test/hush-heredoc/heredoc1.right index 7fc68f3e1..7fc68f3e1 100644 --- a/shell/hush_test/hush-misc/heredoc1.right +++ b/shell/hush_test/hush-heredoc/heredoc1.right diff --git a/shell/hush_test/hush-misc/heredoc1.tests b/shell/hush_test/hush-heredoc/heredoc1.tests index 2eeb4726b..2eeb4726b 100755 --- a/shell/hush_test/hush-misc/heredoc1.tests +++ b/shell/hush_test/hush-heredoc/heredoc1.tests diff --git a/shell/hush_test/hush-heredoc/heredoc2.right b/shell/hush_test/hush-heredoc/heredoc2.right new file mode 100644 index 000000000..a486f1ac4 --- /dev/null +++ b/shell/hush_test/hush-heredoc/heredoc2.right @@ -0,0 +1,2 @@ +bar +bar diff --git a/shell/hush_test/hush-heredoc/heredoc2.tests b/shell/hush_test/hush-heredoc/heredoc2.tests new file mode 100755 index 000000000..6d9ccb6cc --- /dev/null +++ b/shell/hush_test/hush-heredoc/heredoc2.tests @@ -0,0 +1,7 @@ +foo () { +cat <<EOF && { echo "$1" ; } +$1 +EOF +} + +foo "bar" diff --git a/shell/hush_test/hush-misc/heredoc3.right b/shell/hush_test/hush-heredoc/heredoc3.right index 6ed517f74..6ed517f74 100644 --- a/shell/hush_test/hush-misc/heredoc3.right +++ b/shell/hush_test/hush-heredoc/heredoc3.right diff --git a/shell/hush_test/hush-misc/heredoc3.tests b/shell/hush_test/hush-heredoc/heredoc3.tests index 938577a89..938577a89 100755 --- a/shell/hush_test/hush-misc/heredoc3.tests +++ b/shell/hush_test/hush-heredoc/heredoc3.tests diff --git a/shell/hush_test/hush-misc/heredoc4.right b/shell/hush_test/hush-heredoc/heredoc4.right index 371b092e2..371b092e2 100644 --- a/shell/hush_test/hush-misc/heredoc4.right +++ b/shell/hush_test/hush-heredoc/heredoc4.right diff --git a/shell/hush_test/hush-misc/heredoc4.tests b/shell/hush_test/hush-heredoc/heredoc4.tests index 642ddb324..642ddb324 100755 --- a/shell/hush_test/hush-misc/heredoc4.tests +++ b/shell/hush_test/hush-heredoc/heredoc4.tests diff --git a/shell/hush_test/hush-misc/heredoc2.right b/shell/hush_test/hush-heredoc/heredoc5.right index 74110e3b5..74110e3b5 100644 --- a/shell/hush_test/hush-misc/heredoc2.right +++ b/shell/hush_test/hush-heredoc/heredoc5.right diff --git a/shell/hush_test/hush-misc/heredoc2.tests b/shell/hush_test/hush-heredoc/heredoc5.tests index e619bded1..e619bded1 100755 --- a/shell/hush_test/hush-misc/heredoc2.tests +++ b/shell/hush_test/hush-heredoc/heredoc5.tests diff --git a/shell/hush_test/hush-misc/heredoc_backslash1.right b/shell/hush_test/hush-heredoc/heredoc_backslash1.right index 6a6114821..6a6114821 100644 --- a/shell/hush_test/hush-misc/heredoc_backslash1.right +++ b/shell/hush_test/hush-heredoc/heredoc_backslash1.right diff --git a/shell/hush_test/hush-misc/heredoc_backslash1.tests b/shell/hush_test/hush-heredoc/heredoc_backslash1.tests index 501af5490..501af5490 100755 --- a/shell/hush_test/hush-misc/heredoc_backslash1.tests +++ b/shell/hush_test/hush-heredoc/heredoc_backslash1.tests diff --git a/shell/hush_test/hush-misc/heredoc_huge.right b/shell/hush_test/hush-heredoc/heredoc_huge.right index 11740f674..11740f674 100644 --- a/shell/hush_test/hush-misc/heredoc_huge.right +++ b/shell/hush_test/hush-heredoc/heredoc_huge.right diff --git a/shell/hush_test/hush-misc/heredoc_huge.tests b/shell/hush_test/hush-heredoc/heredoc_huge.tests index c2ec2817b..c2ec2817b 100755 --- a/shell/hush_test/hush-misc/heredoc_huge.tests +++ b/shell/hush_test/hush-heredoc/heredoc_huge.tests |