</para>
<section>
-<heading>Test 0001: Database</heading>
+<heading>Test createdb: Database</heading>
<para>
Create and destroy the database.
</para>
</section>
<section>
-<heading>Test 0002a: Read syslog entries</heading>
+<heading>Test upgradedb: Database upgrades</heading>
<para>
-Create an object 'kithira.andromeda.nl' in the database and
-parse a piece of a syslog file.
+Test the database upgrades in gcm_daemon.
+Create an old, version 1, database and run gcm_daemon to perform
+an upgrade to the latest version.
+Then, create a latest-version database and compare dumps of these
+database. They should be essentially the same.
+</para>
+</section>
+
+<section>
+<heading>Test read_messages: Read syslog entries</heading>
+<para>
+Create an object in the database and parse a piece of a syslog file.
This tests normal operation in which gcm_input reads a syslog file
directly.
</para>
</section>
<section>
-<heading>Test 0003: Read corrupted syslog entries</heading>
+<heading>Test read_bad_messages: Read corrupted syslog entries</heading>
<para>
-Create an object 'vd.wt.tno.nl' in the database and
+Create an object in the database and
parse a piece of a syslog file with short and even empty lines.
There should be warnings printed on stderr.
</para>
</section>
<section>
-<heading>Test 0004: Read syslog entries without hostname</heading>
+<heading>Test read_without_hostname: Read syslog entries without hostname</heading>
<para>
-Create an object 'kithira.andromeda.nl' in the database and
+Create an object in the database and
try to parse a piece of a syslog file without specifying the hostname.
The message should be rejected on account of an unknown host.
</para>
</section>
<section>
-<heading>Test 0008: Database upgrades</heading>
-<para>
-Test the database upgrades in gcm_daemon.
-Create an old, version 1, database and run gcm_daemon to perform
-an upgrade to the latest version.
-Then, create a latest-version database and compare dumps of these
-database. They should be essentially the same.
-</para>
-</section>
-
-<section>
<heading>Test 0009: Service check notifications</heading>
<para>
Test the service check notifications.
</section>
<section>
-<heading>Test 0010: Processing log entries</heading>
+<heading>Test notification_sendmail: Processing log entries</heading>
<para>
Test the log processing of gcm_daemon
Create a database with one object and read a piece of sendmail log