mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-01 19:45:33 +08:00
Use initdb --noclean so that test database is available for examination
if initdb fails.
This commit is contained in:
parent
0df916e096
commit
8dce894870
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.11 2000/03/01 21:10:05 petere Exp $
|
||||
# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.12 2000/04/07 17:51:13 tgl Exp $
|
||||
|
||||
# ----------
|
||||
# Check call syntax
|
||||
@ -173,7 +173,7 @@ export PATH
|
||||
# Run initdb to initialize a database system in ./tmp_check
|
||||
# ----------
|
||||
echo "=============== Initializing check database instance ================"
|
||||
initdb -L $LIBDIR -D $PGDATA >$LOGDIR/initdb.log 2>&1
|
||||
initdb -L $LIBDIR -D $PGDATA --noclean >$LOGDIR/initdb.log 2>&1
|
||||
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user