summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: be1ba84)
raw | patch | inline | side by side (parent: be1ba84)
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Tue, 8 Jan 2008 11:27:57 +0000 (11:27 +0000) | ||
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Tue, 8 Jan 2008 11:27:57 +0000 (11:27 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1898 f882894a-f735-0410-b71e-b25c423dba1c
plugins/t/check_ftp.t | patch | blob | history | |
plugins/t/check_tcp.t | patch | blob | history |
diff --git a/plugins/t/check_ftp.t b/plugins/t/check_ftp.t
index 47a73e136460e0e478095fce8ec8e6e26ad22988..7d7cc68c15925fddecda57439522d79f8468f5c9 100644 (file)
--- a/plugins/t/check_ftp.t
+++ b/plugins/t/check_ftp.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);
diff --git a/plugins/t/check_tcp.t b/plugins/t/check_tcp.t
index 2914350e6158f649e3682c2587a3ec31123647f0..83414d90c85f4353496701a5a91b4bf1d0e3c4b8 100644 (file)
--- a/plugins/t/check_tcp.t
+++ b/plugins/t/check_tcp.t
$t += checkCmd( "./check_tcp $host_tcp_http -p 80 -wt 300 -ct 600", 0, $successOutput );
$t += checkCmd( "./check_tcp $host_tcp_http -p 81 -wt 0 -ct 0 -to 1", 2 ); # use invalid port for this test
$t += checkCmd( "./check_tcp $host_nonresponsive -p 80 -wt 0 -ct 0 -to 1", 2 );
-$t += checkCmd( "./check_tcp $hostname_invalid -p 80 -wt 0 -ct 0 -to 1", 2 );
+$t += checkCmd( "./check_tcp $hostname_invalid -p 80 -wt 0 -ct 0 -to 1", 3 );
# Need the \r\n to make it more standards compliant with web servers. Need the various quotes
# so that perl doesn't interpret the \r\n and is passed onto command line correctly