From: John Darrington Date: Tue, 11 Mar 2008 08:37:39 +0000 (+0000) Subject: Fixed problem finding createdb and psql binaries. X-Git-Tag: v0.6.0~60 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=274c90615ffd6975784232b709cff0b99da8b38d;p=pspp-builds.git Fixed problem finding createdb and psql binaries. --- 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));