diff options
| author | Jilles Tjoelker <jilles@FreeBSD.org> | 2011-06-05 14:13:15 +0000 |
|---|---|---|
| committer | Jilles Tjoelker <jilles@FreeBSD.org> | 2011-06-05 14:13:15 +0000 |
| commit | b3f892d9e060f365d2051e3a89d5ae0ea1bafcc6 (patch) | |
| tree | dec8a05e107755532c22074f8da51760f2c5ab63 /tools/regression | |
| parent | b17788c1a919b03246c8360087020fc71cc47b23 (diff) | |
Notes
Diffstat (limited to 'tools/regression')
| -rw-r--r-- | tools/regression/bin/sh/expansion/heredoc2.0 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/regression/bin/sh/expansion/heredoc2.0 b/tools/regression/bin/sh/expansion/heredoc2.0 new file mode 100644 index 000000000000..255143296d4a --- /dev/null +++ b/tools/regression/bin/sh/expansion/heredoc2.0 @@ -0,0 +1,15 @@ +# $FreeBSD$ + +f() { return $1; } + +[ `f 42; cat <<EOF +$? +EOF +` = 42 ] || echo simple command bad + +long=`printf %08192d 0` + +[ `f 42; cat <<EOF +$long.$? +EOF +` = $long.42 ] || echo long simple command bad |
