aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1999-04-14 14:02:00 +0000
committerMarc G. Fournier <scrappy@hub.org>1999-04-14 14:02:00 +0000
commita6311431b58f91b5fe31e97bc7efad63d01b6ccb (patch)
tree24dafc4f77e3f3b3dd0858749e08394de073708b /src
parentc672559c9cb9ae6411ba5456690374891a17b0be (diff)
downloadpostgresql-a6311431b58f91b5fe31e97bc7efad63d01b6ccb.tar.gz
postgresql-a6311431b58f91b5fe31e97bc7efad63d01b6ccb.zip
use config.guess instead of uname -s to figure out system, so that we can
include platform spcific changes ... thanks to Mark Hollomon <mhh@nortelnetworks.com> for the awk script used
Diffstat (limited to 'src')
-rwxr-xr-xsrc/test/regress/regress.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/regress/regress.sh b/src/test/regress/regress.sh
index f09680b7f6f..484c96f94f2 100755
--- a/src/test/regress/regress.sh
+++ b/src/test/regress/regress.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.23 1999/01/23 21:36:00 tgl Exp $
+# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.24 1999/04/14 14:02:00 scrappy Exp $
#
if [ $# -eq 0 ]
then
@@ -33,7 +33,7 @@ PGDATESTYLE="Postgres,US"; export PGDATESTYLE
#FRONTEND=monitor
FRONTEND="psql $HOST -n -e -q"
-SYSTEM=`uname -s`
+SYSTEM=`../../config.guess awk -F\- '{ split($3,a,/[0-9]/); printf"%s-%s", $1, a[1] }'`
echo "=============== Notes... ================="
echo "postmaster must already be running for the regression tests to succeed."