4 # Create an object 'vd.wt.tno.nl' in the database and
5 # parse a piece of a syslog file with short and even empty lines.
6 # There should be warnings printed on stderr.
9 LD_LIBRARY_PATH=/usr/local/pqxx/lib
10 export LD_LIBRARY_PATH
14 if psql gnucomo_test -f src/database/create.sql -q >/dev/null
16 psql gnucomo_test -q -c "insert into object (objectname) values ('vd.wt.tno.nl')"
17 psql gnucomo_test -c "select * from object"
18 src/gcm_input/gcm_input -c gnucomo_test -h vd.wt.tno.nl -d 'sep 5 2002 20:30:45' <test/vd.messages
19 psql gnucomo_test -c "select * from log"
20 psql gnucomo_test -f src/database/destroy.sql -q
23 echo Can not create test database