[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] pspp/tests/command get-data-psql.sh
From: |
John Darrington |
Subject: |
[Pspp-cvs] pspp/tests/command get-data-psql.sh |
Date: |
Tue, 11 Mar 2008 08:37:39 +0000 |
CVSROOT: /sources/pspp
Module name: pspp
Changes by: John Darrington <jmd> 08/03/11 08:37:39
Modified files:
tests/command : get-data-psql.sh
Log message:
Fixed problem finding createdb and psql binaries.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/tests/command/get-data-psql.sh?cvsroot=pspp&r1=1.4&r2=1.5
Patches:
Index: get-data-psql.sh
===================================================================
RCS file: /sources/pspp/pspp/tests/command/get-data-psql.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- get-data-psql.sh 6 Feb 2008 10:33:05 -0000 1.4
+++ get-data-psql.sh 11 Mar 2008 08:37:39 -0000 1.5
@@ -78,11 +78,12 @@
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));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-cvs] pspp/tests/command get-data-psql.sh,
John Darrington <=