Removed line numbers from the SQL scripts output.
[gnucomo.git] / test / t0009.sh
index b13f9de..fb7787f 100644 (file)
@@ -1,10 +1,10 @@
 #!/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
 
@@ -13,7 +13,7 @@ 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
    #  Prepare the database