From aee0c6e34baa71f02f0e81a430f67f3d7ae54f31 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 28 Jul 2010 13:50:08 +0200 Subject: More tests. 100% total code coverage :) --- t/out/hosts_group_reduce | 3 +++ t/out/list_services_single | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 t/out/hosts_group_reduce create mode 100644 t/out/list_services_single (limited to 't/out') diff --git a/t/out/hosts_group_reduce b/t/out/hosts_group_reduce new file mode 100644 index 0000000..0128e43 --- /dev/null +++ b/t/out/hosts_group_reduce @@ -0,0 +1,3 @@ +steel.derf0.net  OK  PING OK - Packet loss = 0%, RTA = 16.75 ms +aneurysm UNREACHABLE PING OK - Packet loss = 0%, RTA = 0.10 ms +alpha  DOWN  PING OK - Packet loss = 0%, RTA = 0.73 ms diff --git a/t/out/list_services_single b/t/out/list_services_single new file mode 100644 index 0000000..389a2f0 --- /dev/null +++ b/t/out/list_services_single @@ -0,0 +1,13 @@ +Disk: lv-home  OK  DISK OK - free space: /home 20207 MB (95% inode=99%): +Disk: lv-root  OK  DISK OK - free space: / 5330 MB (85% inode=90%): +Disk: vda1  OK  DISK OK - free space: /boot 190 MB (88% inode=99%): +HTTP  OK  HTTP OK: HTTP/1.1 200 OK - 668 bytes in 0.040 second response time +Load  OK  OK - load average: 0.00, 0.00, 0.00 +Mail Queue  OK  OK: mailq reports queue is empty +No open relay  OK  NORELAY OK: <** 554 5.7.1 : Relay access denied +Not Blacklisted  OK  CHECK_RBL OK - steel.derf0.net BLACKLISTED on 0 servers of 43 +Processes  OK  PROCS OK: 82 processes +SMTP  OK  SMTP OK - 0.122 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) +Users  WARNING USERS OK - 0 users currently logged in -- cgit v1.2.3