diff options
Diffstat (limited to 'plugins/t/check_imap.t')
-rw-r--r-- | plugins/t/check_imap.t | 2 |
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" ); | |||
36 | cmp_ok( $t->return_code, '==', 2, "Get error with non reponsive host" ); | 36 | cmp_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" ); |
39 | cmp_ok( $t->return_code, '==', 2, "Invalid hostname" ); | 39 | cmp_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"); |
42 | cmp_ok( $t->return_code, '==', 1, "Got warning with bad response" ); | 42 | cmp_ok( $t->return_code, '==', 1, "Got warning with bad response" ); |