Commit c39c198b authored by Peter Eisentraut's avatar Peter Eisentraut

Unset locale variables before running regression tests. (All of them!)

Don't do config.status substitutions into the regression test makefile.
parent 8d77c1a8
......@@ -7855,7 +7855,6 @@ trap 'rm -fr `echo "
src/GNUmakefile
src/Makefile.global
src/backend/port/Makefile
src/test/regress/GNUmakefile
src/include/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
......@@ -8015,7 +8014,6 @@ CONFIG_FILES=\${CONFIG_FILES-"GNUmakefile
src/GNUmakefile
src/Makefile.global
src/backend/port/Makefile
src/test/regress/GNUmakefile
"}
EOF
cat >> $CONFIG_STATUS <<\EOF
......
......@@ -1282,7 +1282,6 @@ AC_OUTPUT(
src/GNUmakefile
src/Makefile.global
src/backend/port/Makefile
src/test/regress/GNUmakefile
],
[echo timestamp > src/include/stamp-h]
)
......@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.58 2000/07/19 16:29:42 petere Exp $
# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.59 2000/07/23 13:01:08 petere Exp $
#
#-------------------------------------------------------------------------
......@@ -37,5 +37,4 @@ distclean maintainer-clean:
-$(MAKE) -C bin $@
-$(MAKE) -C pl $@
-$(MAKE) -C test clean
rm -f test/regress/GNUmakefile
rm -f Makefile.port Makefile.global GNUmakefile
......@@ -7,16 +7,17 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/test/regress/Attic/GNUmakefile.in,v 1.2 2000/05/29 05:45:55 tgl Exp $
# $Header: /cvsroot/pgsql/src/test/regress/GNUmakefile,v 1.22 2000/07/23 13:01:10 petere Exp $
#
#-------------------------------------------------------------------------
SRCDIR= ../..
include $(SRCDIR)/Makefile.global
subdir = src/test/regress
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
CONTRIB= $(SRCDIR)/../contrib
CONTRIB= $(top_builddir)/contrib
HOST= @host@
HOST := $(shell $(top_srcdir)/config/config.guess)
CFLAGS+= -I$(LIBPQDIR) $(CFLAGS_SL)
......
#!/bin/sh
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.51 2000/05/24 22:32:58 tgl Exp $
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.52 2000/07/23 13:01:11 petere Exp $
#
if [ $# -eq 0 ]; then
echo "Syntax: $0 <hostname> [extra-tests]"
......@@ -30,8 +30,7 @@ fi
PGTZ="PST8PDT"; export PGTZ
PGDATESTYLE="Postgres,US"; export PGDATESTYLE
LANG= ; export LANG
LC_ALL= ; export LC_ALL
unset LC_COLLATE LC_CTYPE LC_MONETARY LC_MESSAGES LC_NUMERIC LC_TIME LC_ALL LANG LANGUAGE
FRONTEND="psql $HOSTLOC -a -q -X"
......
#!/bin/sh
#
# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.24 2000/07/13 16:08:01 petere Exp $
# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.25 2000/07/23 13:01:11 petere Exp $
# ----------
# Check call syntax
......@@ -49,6 +49,12 @@ else
fi
export LD_LIBRARY_PATH
# ----------
# Unset locale settings
# ----------
unset LC_COLLATE LC_CTYPE LC_MONETARY LC_MESSAGES LC_NUMERIC LC_TIME LC_ALL LANG LANGUAGE
# ----------
# Get the commandline parameters
# ----------
......
#!/bin/sh
echo -n "string to use for system specific expected/* files: "
../../config.guess |awk -F\- '{ split($3,a,/[0-9]/); printf"%s-%s", $1, a[1] }'
../../../config/config.guess |awk -F\- '{ split($3,a,/[0-9]/); printf"%s-%s", $1, a[1] }'
echo ""
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment