Commit 943178fe authored by Tom Lane's avatar Tom Lane

Minor improvements in the really-pretty-ad-hoc test scripts for the

PL languages.
parent a8e0dff1
......@@ -9,10 +9,10 @@ dropdb $DBNAME
sleep 1
echo "**** Create test database $DBNAME ****"
createdb $DBNAME
createdb $DBNAME || exit 1
echo "**** Create procedural language plperl ****"
createlang plperl $DBNAME
createlang plperl $DBNAME || exit 1
echo "**** Running test queries ****"
psql -q -n -e $DBNAME <test_queries.sql > test.out 2>&1
......
......@@ -7,6 +7,8 @@ dropdb $DBNAME > test.log 2>&1
# drop failure is ok...
echo " Done. ***"
sleep 1
echo -n "*** Create $DBNAME."
if createdb $DBNAME >> test.log 2>&1 ; then
echo " Done. ***"
......
......@@ -9,10 +9,10 @@ dropdb $DBNAME
sleep 1
echo "**** Create test database $DBNAME ****"
createdb $DBNAME
createdb $DBNAME || exit 1
echo "**** Create procedural language pltcl ****"
createlang pltcl $DBNAME
createlang pltcl $DBNAME || exit 1
echo "**** Create tables, functions and triggers ****"
psql -q -n $DBNAME <test_setup.sql
......
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