Tweak parallel test script so that command line options for postmaster

can be set via environment variable PMOPTIONS.  Default is -o -F.
This commit is contained in:
Tom Lane 2000-04-08 01:54:47 +00:00
parent dc070fdea6
commit fd0df5058a

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/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 # Check call syntax
@ -29,6 +29,7 @@ TIMDIR="$CHKDIR/timestamp"
PGPORT="65432" PGPORT="65432"
PGLIB="$LIBDIR" PGLIB="$LIBDIR"
PMPID="" PMPID=""
PMOPTIONS=${PMOPTIONS:-"-o -F"}
export CHKDIR export CHKDIR
export PGDATA export PGDATA
@ -191,7 +192,7 @@ fi
# him some time to pass the WAL recovery code. # him some time to pass the WAL recovery code.
#---------- #----------
echo "=============== Starting regression postmaster ================" 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=$! PMPID=$!
sleep 2 sleep 2