From: Tom Lane Date: Fri, 7 Apr 2000 17:51:13 +0000 (+0000) Subject: Use initdb --noclean so that test database is available for examination X-Git-Tag: REL7_0~202 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8dce89487052ebdf73a811287b555f904be82ebb;p=postgresql Use initdb --noclean so that test database is available for examination if initdb fails. --- diff --git a/src/test/regress/run_check.sh b/src/test/regress/run_check.sh index 68c524bb9a..b2b94dedf9 100755 --- a/src/test/regress/run_check.sh +++ b/src/test/regress/run_check.sh @@ -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