summaryrefslogtreecommitdiffstats
path: root/plugins/t/check_imap.t
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-01-08 11:35:06 +0000
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-01-08 11:35:06 +0000
commit2e0da16fad96241dc6bde04daecc7ced840e9c9a (patch)
tree00a5af556c83d0cfad29fc7b54005a9673787816 /plugins/t/check_imap.t
parent9693226cebc9408b6c8f66de25aa38bff98169e4 (diff)
downloadmonitoring-plugins-2e0da16fad96241dc6bde04daecc7ced840e9c9a.tar.gz
more r1879 fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1899 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 fa957d1b..29343025 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, '==', 2, "Invalid hostname" ); 39cmp_ok( $t->return_code, '==', 3, "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" );