From 274c90615ffd6975784232b709cff0b99da8b38d Mon Sep 17 00:00:00 2001 From: John Darrington Date: Tue, 11 Mar 2008 08:37:39 +0000 Subject: [PATCH] Fixed problem finding createdb and psql binaries. --- tests/command/get-data-psql.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/command/get-data-psql.sh b/tests/command/get-data-psql.sh index 521a97f8..7735c36b 100755 --- a/tests/command/get-data-psql.sh +++ b/tests/command/get-data-psql.sh @@ -78,11 +78,12 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="create database" -createdb -h $TEMPDIR -p $port $dbase > /dev/null 2> /dev/null +$pgpath/createdb -h $TEMPDIR -p $port $dbase > /dev/null 2> /dev/null +if [ $? -ne 0 ] ; then no_result ; fi activity="populate database" -psql -h $TEMPDIR -p $port $dbase > /dev/null << EOF +$pgpath/psql -h $TEMPDIR -p $port $dbase > /dev/null << EOF CREATE TABLE empty (a int, b date, c numeric(23, 4)); -- 2.30.2