diff mbox

[roland/env-only] Avoid re-exec-self in bug-setlocale1.

Message ID 20150306190010.CCEC52C3B36@topped-with-meat.com
State New
Headers show

Commit Message

Roland McGrath March 6, 2015, 7 p.m. UTC
> Needs documenting in install.texi / INSTALL, where it describes how 
> test-wrapper-env must be set if $(test-wrapper) env isn't sufficient.

Thanks for the reminder.  I've committed this.


Thanks,
Roland


2015-03-06  Roland McGrath  <roland@hack.frob.com>

	* manual/install.texi (Configuring and compiling):
	Document test-wrapper-env-only.
	* INSTALL: Regenerated.
diff mbox

Patch

--- a/INSTALL
+++ b/INSTALL
@@ -254,7 +254,12 @@  program that runs a newly built program with environment variable
 assignments in effect, those assignments being specified as 'VAR=VALUE'
 before the name of the program to be run.  If multiple assignments to
 the same variable are specified, the last assignment specified must take
-precedence.
+precedence.  Similarly, if 'TEST-WRAPPER env -i' will not work to run a
+program with an environment completely empty of variables except those
+directly assigned, then 'test-wrapper-env-only' must be set; its use has
+the same syntax as 'test-wrapper-env', the only difference in its
+semantics being starting with an empty set of environment variables
+rather than the ambient set.
 
 Installing the C Library
 ========================
--- a/manual/install.texi
+++ b/manual/install.texi
@@ -283,14 +283,19 @@  In general, when testing @theglibc{}, @samp{test-wrapper} may be set
 to the name and arguments of any program to run newly built binaries.
 This program must preserve the arguments to the binary being run, its
 working directory and the standard input, output and error file
-descriptors.  If
-@samp{@var{test-wrapper} env} will not work to run a program with
-environment variables set, then @samp{test-wrapper-env} must be set to
-a program that runs a newly built program with environment variable
-assignments in effect, those assignments being specified as
-@samp{@var{var}=@var{value}} before the name of the program to be
-run.  If multiple assignments to the same variable are specified,
-the last assignment specified must take precedence.
+descriptors.  If @samp{@var{test-wrapper} env} will not work to run a
+program with environment variables set, then @samp{test-wrapper-env}
+must be set to a program that runs a newly built program with
+environment variable assignments in effect, those assignments being
+specified as @samp{@var{var}=@var{value}} before the name of the
+program to be run.  If multiple assignments to the same variable are
+specified, the last assignment specified must take precedence.
+Similarly, if @samp{@var{test-wrapper} env -i} will not work to run a
+program with an environment completely empty of variables except those
+directly assigned, then @samp{test-wrapper-env-only} must be set; its
+use has the same syntax as @samp{test-wrapper-env}, the only
+difference in its semantics being starting with an empty set of
+environment variables rather than the ambient set.
 
 
 @node Running make install