projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed problem finding createdb and psql binaries.
[pspp-builds.git]
/
tests
/
command
/
get-data-psql.sh
diff --git
a/tests/command/get-data-psql.sh
b/tests/command/get-data-psql.sh
index 521a97f84c941c6e7a3615770b77c4f8552d66e9..7735c36b04e2138ad958413eb1ce767643cf573a 100755
(executable)
--- 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"
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"
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));
CREATE TABLE empty (a int, b date, c numeric(23, 4));