Commit 8dce8948 authored by Tom Lane's avatar Tom Lane

Use initdb --noclean so that test database is available for examination

if initdb fails.
parent 0df916e0
#!/bin/sh #!/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 # Check call syntax
...@@ -173,7 +173,7 @@ export PATH ...@@ -173,7 +173,7 @@ export PATH
# Run initdb to initialize a database system in ./tmp_check # Run initdb to initialize a database system in ./tmp_check
# ---------- # ----------
echo "=============== Initializing check database instance ================" 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 ] if [ $? -ne 0 ]
then then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment