Tweak parallel test script so that command line options for postmaster
authorTom Lane
Sat, 8 Apr 2000 01:54:47 +0000 (01:54 +0000)
committerTom Lane
Sat, 8 Apr 2000 01:54:47 +0000 (01:54 +0000)
can be set via environment variable PMOPTIONS.  Default is -o -F.

src/test/regress/run_check.sh

index b2b94dedf98f548ebde2fe580937ad2f36430365..6f8e72fc388b09dac4bcfcfc0da571e529fe5087 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.12 2000/04/07 17:51:13 tgl Exp $
+# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.13 2000/04/08 01:54:47 tgl Exp $
 
 # ----------
 # Check call syntax
@@ -29,6 +29,7 @@ TIMDIR="$CHKDIR/timestamp"
 PGPORT="65432"
 PGLIB="$LIBDIR"
 PMPID=""
+PMOPTIONS=${PMOPTIONS:-"-o -F"}
 
 export CHKDIR
 export PGDATA
@@ -191,7 +192,7 @@ fi
 # him some time to pass the WAL recovery code. 
 #----------
 echo "=============== Starting regression postmaster         ================"
-postmaster -D $PGDATA -p $PGPORT -o -F >$LOGDIR/postmaster.log 2>&1 &
+postmaster -D $PGDATA -p $PGPORT $PMOPTIONS >$LOGDIR/postmaster.log 2>&1 &
 PMPID=$!
 sleep 2