]> git.saurik.com Git - apple/shell_cmds.git/blob - sh/tests/parser/heredoc7.0
shell_cmds-216.60.1.tar.gz
[apple/shell_cmds.git] / sh / tests / parser / heredoc7.0
1 # $FreeBSD: head/bin/sh/tests/parser/heredoc7.0 210488 2010-07-25 22:25:52Z jilles $
2
3 # Some of these created malformed parse trees with null pointers for here
4 # documents, causing the here document writing process to segfault.
5 eval ': <<EOF'
6 eval ': <<EOF;'
7 eval '`: <<EOF`'
8 eval '`: <<EOF;`'
9 eval '`: <<EOF`;'
10 eval '`: <<EOF;`;'
11
12 # Some of these created malformed parse trees with null pointers for here
13 # documents, causing sh to segfault.
14 eval ': <<\EOF'
15 eval ': <<\EOF;'
16 eval '`: <<\EOF`'
17 eval '`: <<\EOF;`'
18 eval '`: <<\EOF`;'
19 eval '`: <<\EOF;`;'