]> git.saurik.com Git - apple/shell_cmds.git/blame - sh/tests/parser/heredoc11.0
shell_cmds-203.tar.gz
[apple/shell_cmds.git] / sh / tests / parser / heredoc11.0
CommitLineData
deb63bfb 1# $FreeBSD: head/bin/sh/tests/parser/heredoc11.0 222134 2011-05-20 16:03:36Z jilles $
71aad674
A
2
3failures=''
4
5check() {
6 if eval "[ $* ]"; then
7 :
8 else
9 echo "Failed: $*"
10 failures=x$failures
11 fi
12}
13
14check '`cat <<EOF
15foo
16EOF` = foo'
17
18check '"`cat <<EOF
19foo
20EOF`" = foo'
21
22check '`eval "cat <<EOF
23foo
24EOF"` = foo'
25
26test "x$failures" = x