diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-07-30 22:22:02 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-07-30 22:22:02 +0200 |
commit | 5e4555011fd9e465be9efefc685f12f0dbf28902 (patch) | |
tree | d655ea3bfd01e28b35959e94fec0065c97538feb /t | |
parent | 38af3454d62611121963c0da8150980e21d31fc6 (diff) |
More test coverage
Diffstat (limited to 't')
-rw-r--r-- | t/in/status.dat | 6 | ||||
-rw-r--r-- | t/out/list_hosts | 2 | ||||
-rw-r--r-- | t/out/list_hosts_nc | 2 | ||||
-rw-r--r-- | t/out/list_services_nc | 2 | ||||
-rw-r--r-- | t/out/services_group_local | 2 | ||||
-rw-r--r-- | t/out/standard | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/t/in/status.dat b/t/in/status.dat index 8f391c5..cfdcc23 100644 --- a/t/in/status.dat +++ b/t/in/status.dat @@ -69,7 +69,7 @@ hoststatus { retry_interval=1.000000 event_handler= has_been_checked=1 - should_be_scheduled=1 + should_be_scheduled=0 check_execution_time=0.015 check_latency=0.230 check_type=0 @@ -178,7 +178,7 @@ hoststatus { check_interval=5.000000 retry_interval=1.000000 event_handler= - has_been_checked=1 + has_been_checked=0 should_be_scheduled=1 check_execution_time=0.032 check_latency=0.089 @@ -973,7 +973,7 @@ servicestatus { check_interval=5.000000 retry_interval=1.000000 event_handler= - has_been_checked=1 + has_been_checked=0 should_be_scheduled=0 check_execution_time=0.000 check_latency=0.579 diff --git a/t/out/list_hosts b/t/out/list_hosts index 2e44d30..3aa1e7e 100644 --- a/t/out/list_hosts +++ b/t/out/list_hosts @@ -1,4 +1,4 @@ alpha [37;41m DOWN [0m PING OK - Packet loss = 0%, RTA = 0.73 ms aneurysm [37;44mUNREACHABLE[0m PING OK - Packet loss = 0%, RTA = 0.10 ms -steel-vpn [30;42m OK [0m PING OK - Packet loss = 0%, RTA = 18.01 ms +steel-vpn PENDING PING OK - Packet loss = 0%, RTA = 18.01 ms steel.derf0.net [30;42m OK [0m PING OK - Packet loss = 0%, RTA = 16.75 ms diff --git a/t/out/list_hosts_nc b/t/out/list_hosts_nc index ecd73ce..055c7fa 100644 --- a/t/out/list_hosts_nc +++ b/t/out/list_hosts_nc @@ -1,4 +1,4 @@ alpha DOWN PING OK - Packet loss = 0%, RTA = 0.73 ms aneurysm UNREACHABLE PING OK - Packet loss = 0%, RTA = 0.10 ms -steel-vpn OK PING OK - Packet loss = 0%, RTA = 18.01 ms +steel-vpn PENDING PING OK - Packet loss = 0%, RTA = 18.01 ms steel.derf0.net OK PING OK - Packet loss = 0%, RTA = 16.75 ms diff --git a/t/out/list_services_nc b/t/out/list_services_nc index ca7056b..2ff7487 100644 --- a/t/out/list_services_nc +++ b/t/out/list_services_nc @@ -14,7 +14,7 @@ aneurysm SMTP OK SMTP OK - 0.038 sec. response time SSH OK SSH OK - OpenSSH_5.5p1 Debian-4 (protocol 2.0) SSH password login d OK Password login disabled (server accepts publickey) - System Backup OK /dev/mapper/misc-backup 109G 40G 69G 37% /backup + System Backup PENDING /dev/mapper/misc-backup 109G 40G 69G 37% /backup steel-vpn SMTP OK SMTP OK - 0.080 sec. response time diff --git a/t/out/services_group_local b/t/out/services_group_local index bdfaa65..105ebbe 100644 --- a/t/out/services_group_local +++ b/t/out/services_group_local @@ -14,4 +14,4 @@ aneurysm SMTP [30;42m OK [0m SMTP OK - 0.038 sec. response time SSH [30;42m OK [0m SSH OK - OpenSSH_5.5p1 Debian-4 (protocol 2.0) SSH password login d [30;42m OK [0m Password login disabled (server accepts publickey) - System Backup [30;42m OK [0m /dev/mapper/misc-backup 109G 40G 69G 37% /backup + System Backup PENDING /dev/mapper/misc-backup 109G 40G 69G 37% /backup diff --git a/t/out/standard b/t/out/standard index c1f0b30..d9a3cd1 100644 --- a/t/out/standard +++ b/t/out/standard @@ -14,7 +14,7 @@ aneurysm SMTP [30;42m OK [0m SMTP OK - 0.038 sec. response time SSH [30;42m OK [0m SSH OK - OpenSSH_5.5p1 Debian-4 (protocol 2.0) SSH password login d [30;42m OK [0m Password login disabled (server accepts publickey) - System Backup [30;42m OK [0m /dev/mapper/misc-backup 109G 40G 69G 37% /backup + System Backup PENDING /dev/mapper/misc-backup 109G 40G 69G 37% /backup steel-vpn SMTP [30;42m OK [0m SMTP OK - 0.080 sec. response time |