X-Git-Url: http://www.andromeda.nl/gitweb/?a=blobdiff_plain;f=doc%2Ftest.xml;fp=doc%2Ftest.xml;h=e55d57d58d7e6bef9429183a0e43004a4c471b4d;hb=4a52cee10938e535569bce9e46f82d8e05977200;hp=aad671695a101ee4d0704bfbc90ad4a731afaaf7;hpb=a85e804fd7f87a4d067ef31a634b54bd6106c0f5;p=gnucomo.git diff --git a/doc/test.xml b/doc/test.xml index aad6716..e55d57d 100644 --- a/doc/test.xml +++ b/doc/test.xml @@ -48,35 +48,45 @@ This chapter describes individual test cases.
-Test 0001: Database +Test createdb: Database Create and destroy the database.
-Test 0002a: Read syslog entries +Test upgradedb: Database upgrades -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. + +
+ +
+Test read_messages: Read syslog entries + +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.
-Test 0003: Read corrupted syslog entries +Test read_bad_messages: Read corrupted syslog entries -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.
-Test 0004: Read syslog entries without hostname +Test read_without_hostname: Read syslog entries without hostname -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. @@ -92,17 +102,6 @@ This tests wether an improper time still creates valid data.
-Test 0008: Database upgrades - -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. - -
- -
Test 0009: Service check notifications Test the service check notifications. @@ -116,7 +115,7 @@ This tests problem report nr. 23
-Test 0010: Processing log entries +Test notification_sendmail: Processing log entries Test the log processing of gcm_daemon Create a database with one object and read a piece of sendmail log