]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sh: Add already working testcases for $? in here-document.
authorJilles Tjoelker <jilles@FreeBSD.org>
Sun, 5 Jun 2011 12:46:26 +0000 (12:46 +0000)
committerJilles Tjoelker <jilles@FreeBSD.org>
Sun, 5 Jun 2011 12:46:26 +0000 (12:46 +0000)
commitb17788c1a919b03246c8360087020fc71cc47b23
tree3e2f3192b466d80e0e12a9975932fe17f671fe79
parent7de7a904043619b9b33eef81541c12cc7d15ab8c
sh: Add already working testcases for $? in here-document.

If the here-document is attached to a compound command or subshell, $?
already works properly. This is both a workaround for bin/41410 and a
requirement for a true fix for bin/41410.

PR: bin/41410
MFC after: 1 week
tools/regression/bin/sh/expansion/heredoc1.0 [new file with mode: 0644]