summaryrefslogtreecommitdiffstats
path: root/plugins/t/check_imap.t
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2008-01-08 11:57:24 +0000
committerTon Voon <tonvoon@users.sourceforge.net>2008-01-08 11:57:24 +0000
commit3120fe3806ac2df69be10097b71ec84974bbcea7 (patch)
tree9aa83ae3c9f079c6a8f8ef8c3392c7cbf0322faa /plugins/t/check_imap.t
parent31a58a1535235b6d9ea5761e36c06aaf478864ce (diff)
downloadmonitoring-plugins-3120fe3806ac2df69be10097b71ec84974bbcea7.tar.gz
Reverted commits 1898 and 1899 due to reversion of 1879
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1901 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/t/check_imap.t')
-rw-r--r--plugins/t/check_imap.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_imap.t b/plugins/t/check_imap.t
index 29343025..fa957d1b 100644
--- a/plugins/t/check_imap.t
+++ b/plugins/t/check_imap.t
@@ -36,7 +36,7 @@ $t = NPTest->testCmd( "./check_imap $host_nonresponsive" );
36cmp_ok( $t->return_code, '==', 2, "Get error with non reponsive host" ); 36cmp_ok( $t->return_code, '==', 2, "Get error with non reponsive host" );
37 37
38$t = NPTest->testCmd( "./check_imap $hostname_invalid" ); 38$t = NPTest->testCmd( "./check_imap $hostname_invalid" );
39cmp_ok( $t->return_code, '==', 3, "Invalid hostname" ); 39cmp_ok( $t->return_code, '==', 2, "Invalid hostname" );
40 40
41$t = NPTest->testCmd( "./check_imap -H $host_tcp_imap -e unlikely_string"); 41$t = NPTest->testCmd( "./check_imap -H $host_tcp_imap -e unlikely_string");
42cmp_ok( $t->return_code, '==', 1, "Got warning with bad response" ); 42cmp_ok( $t->return_code, '==', 1, "Got warning with bad response" );