#!/bin/bash # # Create an object 'kithira.andromeda.nl' in the database and # parse a piece of a XML file. rm -f gcm_input.log createdb gnucomo_test result=1 if psql gnucomo_test -q <../src/database/create.sql >/dev/null then psql gnucomo_test -q -c "insert into object (objectname) values ('kithira.andromeda.nl')" # read logs from an XML file. 2 log entries are expected echo "Read a good XML file" ../src/gcm_input/gcm_input -v -c gnucomo_test