diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-01-08 11:27:57 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-01-08 11:27:57 +0000 |
commit | 9693226cebc9408b6c8f66de25aa38bff98169e4 (patch) | |
tree | 3d8b76f46ef167726d0577f3ea7af00033972440 /plugins/t/check_tcp.t | |
parent | be1ba84de55fe011aef3157d41c84e86e5ebaf15 (diff) | |
download | monitoring-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_tcp.t')
-rw-r--r-- | plugins/t/check_tcp.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_tcp.t b/plugins/t/check_tcp.t index 2914350e..83414d90 100644 --- a/plugins/t/check_tcp.t +++ b/plugins/t/check_tcp.t @@ -30,7 +30,7 @@ my $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 |