#!/bin/sh
#
-# Test the service check notifications.
+# Test the service and log check notifications.
# Create a database with two objects and no services. After reading two
# log file fragments for these two objects, gcm_daemon should create
-# 'service unknown' notifications, one for each object.
+# several notifications, three for each object.
#
# This tests problem report nr. 23
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
# Prepare the database