From 9693226cebc9408b6c8f66de25aa38bff98169e4 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Tue, 8 Jan 2008 11:27:57 +0000 Subject: Fix test breakages for commit r1879: check_tcp now returns UNKNOWN with an invalid hostname on command line git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1898 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/t/check_ftp.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/t/check_ftp.t') diff --git a/plugins/t/check_ftp.t b/plugins/t/check_ftp.t index 47a73e13..7d7cc68c 100644 --- a/plugins/t/check_ftp.t +++ b/plugins/t/check_ftp.t @@ -27,7 +27,7 @@ my $t; $t += checkCmd( "./check_ftp $host_tcp_ftp -wt 300 -ct 600", 0, $successOutput ); $t += checkCmd( "./check_ftp $host_nonresponsive -wt 0 -ct 0 -to 1", 2 ); -$t += checkCmd( "./check_ftp $hostname_invalid -wt 0 -ct 0", 2 ); +$t += checkCmd( "./check_ftp $hostname_invalid -wt 0 -ct 0", 3 ); exit(0) if defined($Test::Harness::VERSION); exit($tests - $t); -- cgit v1.2.3-74-g34f1