Commit 73348316 authored by Peter Eisentraut's avatar Peter Eisentraut

Enabled regression driver to run without PGLIB set.

parent 46ba3f83
#!/bin/sh #!/bin/sh
# #
# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.9 2000/02/19 22:13:36 tgl Exp $ # $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.10 2000/02/24 23:37:30 petere 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 --pglib=$LIBDIR --pgdata=$PGDATA >$LOGDIR/initdb.log 2>&1 initdb -L $LIBDIR -D $PGDATA >$LOGDIR/initdb.log 2>&1
if [ $? -ne 0 ] if [ $? -ne 0 ]
then then
...@@ -239,7 +239,7 @@ fi ...@@ -239,7 +239,7 @@ fi
# Install the PL/pgSQL language in it # Install the PL/pgSQL language in it
# ---------- # ----------
echo "=============== Installing PL/pgSQL... ================" echo "=============== Installing PL/pgSQL... ================"
createlang $HOSTLOC plpgsql regression createlang -L $LIBDIR $HOSTLOC plpgsql regression
if [ $? -ne 0 -a $? -ne 2 ]; then if [ $? -ne 0 -a $? -ne 2 ]; then
echo createlang failed echo createlang failed
kill -15 $PMPID kill -15 $PMPID
......
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