From 5e4555011fd9e465be9efefc685f12f0dbf28902 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 30 Jul 2010 22:22:02 +0200 Subject: More test coverage --- t/in/status.dat | 6 +++--- t/out/list_hosts | 2 +- t/out/list_hosts_nc | 2 +- t/out/list_services_nc | 2 +- t/out/services_group_local | 2 +- t/out/standard | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) (limited to 't') 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  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_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  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 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  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 -- cgit v1.2.3