4 # Create an object 'kithira.andromeda.nl' in the database and
5 # parse a piece of a syslog file.
6 # This tests normal operation in which gcm_input reads a syslog file
11 if psql gnucomo_test -f src/create.sql
13 psql gnucomo_test -q -c "insert into object (objectname) values ('kithira.andromeda.nl')"
14 psql gnucomo_test -c "select * from object"
15 src/gcm_input -c gnucomo_test -h kithira.andromeda.nl -d 'sep 5 2002 20:30:45' <test/messages
16 psql gnucomo_test -c "select * from log"
17 psql gnucomo_test -f src/destroy.sql
20 echo Can not create test database