NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/53550 CVS commit: src/tests/bin/sh

The following reply was made to PR bin/53550; it has been noted by GNATS.

From: "Robert Elz" <>
Subject: PR/53550 CVS commit: src/tests/bin/sh
Date: Mon, 22 Nov 2021 05:21:54 +0000

 Module Name:	src
 Committed By:	kre
 Date:		Mon Nov 22 05:21:54 UTC 2021
 Modified Files:
 Log Message:
 PR bin/53550
 /bin/sh's processing of here doc expansions has changed.   Now it happens
 in the context of the parent shell, so side effects are visible there,
 just like all other redirection expansions.
 We need to stop testing that that doesn't happen, and instead test
 that it does.   This is that change.
 Add another test case which is testing exactly the example from the PR
 (well, with a different exit status, 1 is too generic and could happen
 by accident) to make sure we don't reintroduce that bug sometime.
 To generate a diff of this commit:
 cvs rdiff -u -r1.8 -r1.9 src/tests/bin/sh/
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index