Add regression tests for /bin/sh.
[dragonfly.git] / tools / regression / bin / sh / parser / heredoc7.0
1 # $FreeBSD: src/tools/regression/bin/sh/parser/heredoc7.0,v 1.1 2010/07/25 22:25:52 jilles Exp $
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;`;'