From 2e0da16fad96241dc6bde04daecc7ced840e9c9a Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Tue, 8 Jan 2008 11:35:06 +0000 Subject: more r1879 fixes git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1899 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/t/check_imap.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/t/check_imap.t') 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" ); cmp_ok( $t->return_code, '==', 2, "Get error with non reponsive host" ); $t = NPTest->testCmd( "./check_imap $hostname_invalid" ); -cmp_ok( $t->return_code, '==', 2, "Invalid hostname" ); +cmp_ok( $t->return_code, '==', 3, "Invalid hostname" ); $t = NPTest->testCmd( "./check_imap -H $host_tcp_imap -e unlikely_string"); cmp_ok( $t->return_code, '==', 1, "Got warning with bad response" ); -- cgit v1.2.3-74-g34f1