summaryrefslogtreecommitdiffstats
path: root/plugins/t/check_ftp.t
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-01-08 11:27:57 (GMT)
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-01-08 11:27:57 (GMT)
commit9693226cebc9408b6c8f66de25aa38bff98169e4 (patch)
tree3d8b76f46ef167726d0577f3ea7af00033972440 /plugins/t/check_ftp.t
parentbe1ba84de55fe011aef3157d41c84e86e5ebaf15 (diff)
downloadmonitoring-plugins-9693226cebc9408b6c8f66de25aa38bff98169e4.tar.gz
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
Diffstat (limited to 'plugins/t/check_ftp.t')
-rw-r--r--plugins/t/check_ftp.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_ftp.t b/plugins/t/check_ftp.t
index 47a73e1..7d7cc68 100644
--- a/plugins/t/check_ftp.t
+++ b/plugins/t/check_ftp.t
@@ -27,7 +27,7 @@ my $t;
27 27
28$t += checkCmd( "./check_ftp $host_tcp_ftp -wt 300 -ct 600", 0, $successOutput ); 28$t += checkCmd( "./check_ftp $host_tcp_ftp -wt 300 -ct 600", 0, $successOutput );
29$t += checkCmd( "./check_ftp $host_nonresponsive -wt 0 -ct 0 -to 1", 2 ); 29$t += checkCmd( "./check_ftp $host_nonresponsive -wt 0 -ct 0 -to 1", 2 );
30$t += checkCmd( "./check_ftp $hostname_invalid -wt 0 -ct 0", 2 ); 30$t += checkCmd( "./check_ftp $hostname_invalid -wt 0 -ct 0", 3 );
31 31
32exit(0) if defined($Test::Harness::VERSION); 32exit(0) if defined($Test::Harness::VERSION);
33exit($tests - $t); 33exit($tests - $t);