Removed line numbers from the SQL scripts output.
[gnucomo.git] / test / t0003.sh
index 321c57b..bdb2e60 100644 (file)
@@ -6,9 +6,12 @@
 #  There should be warnings printed on stderr.
 #
 
+LD_LIBRARY_PATH=/usr/local/pqxx/lib
+export LD_LIBRARY_PATH
+
 cd ..
 
-if psql gnucomo_test -f src/database/create.sql -q >/dev/null
+if psql gnucomo_test -q <src/database/create.sql >/dev/null
 then
    psql gnucomo_test -q -c "insert into object (objectname) values ('vd.wt.tno.nl')"
    psql gnucomo_test -c "select * from object"