This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: glibc 2.1.91 (first test release for 2.2)


On Mon, Jul 03, 2000 at 10:27:05PM -0700, H . J . Lu wrote:
> 
> I have to unset LANG since mine is to en_US. If I don't unset it, the
> test programs will read files under /usr/share/locale/en_US. Also we
> may want to unset LANG for tests where any locale is used for any
> reason.
> 
> 
> ----
> 2000-07-03  H.J. Lu  <hjl@gnu.org>
> 
> 	* locale/programs/ld-ctype.c (ctype_output): The size of iov
> 	is 2 + elem + offset, not 2 + elem + offset + 2.
> 
> 	* localedata/tst-fmon.sh: Set LANG to "".
> 	* localedata/tst-locale.sh: Likewise.
> 	* intl/tst-gettext.sh: Likewise.
> 

I also need this patch for "make check" to pass. Otherwise, some
tests will read /usr/share/locale/$LANG.


H.J.
----
2000-07-03  H.J. Lu  <hjl@gnu.org>

	* Rule (%.out): Unset LANG.

Index: Rules
===================================================================
RCS file: /work/cvs/gnu/glibc/Rules,v
retrieving revision 1.1.1.2
diff -u -p -r1.1.1.2 Rules
--- Rules	2000/06/13 16:52:42	1.1.1.2
+++ Rules	2000/07/04 05:28:36
@@ -119,10 +119,10 @@ ifneq "$(strip $(tests) $(test-srcs))" "
 # These are the implicit rules for making test outputs
 # from the test programs and whatever input files are present.
 $(objpfx)%.out: %.input $(objpfx)%
-	GCONV_PATH=$(common-objpfx)iconvdata \
+	GCONV_PATH=$(common-objpfx)iconvdata LANG= \
 	  $($*-ENV) $(built-program-cmd) $($*-ARGS) < $(word 1,$^) > $@
 $(objpfx)%.out: /dev/null $(objpfx)%	# Make it 2nd arg for canned sequence.
-	GCONV_PATH=$(common-objpfx)iconvdata \
+	GCONV_PATH=$(common-objpfx)iconvdata LANG= \
 	  $($*-ENV) $(built-program-cmd) $($*-ARGS) > $@
 endif	# tests
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]