Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit fd0df50

Browse files
committed
Tweak parallel test script so that command line options for postmaster
can be set via environment variable PMOPTIONS. Default is -o -F.
1 parent dc070fd commit fd0df50

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/test/regress/run_check.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
#
3-
# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.12 2000/04/07 17:51:13 tgl Exp $
3+
# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.13 2000/04/08 01:54:47 tgl Exp $
44

55
# ----------
66
# Check call syntax
@@ -29,6 +29,7 @@ TIMDIR="$CHKDIR/timestamp"
2929
PGPORT="65432"
3030
PGLIB="$LIBDIR"
3131
PMPID=""
32+
PMOPTIONS=${PMOPTIONS:-"-o -F"}
3233

3334
export CHKDIR
3435
export PGDATA
@@ -191,7 +192,7 @@ fi
191192
# him some time to pass the WAL recovery code.
192193
#----------
193194
echo "=============== Starting regression postmaster ================"
194-
postmaster -D $PGDATA -p $PGPORT -o -F >$LOGDIR/postmaster.log 2>&1 &
195+
postmaster -D $PGDATA -p $PGPORT $PMOPTIONS >$LOGDIR/postmaster.log 2>&1 &
195196
PMPID=$!
196197
sleep 2
197198

0 commit comments

Comments
 (0)