SF.net SVN: nagiosplug:[2056] nagiosplug/trunk/plugins/tests/check_http.t

[email protected]
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
Revision: 2056
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2056&view=rev
Author:   tonvoon
Date:     2008-09-25 08:04:42 +0000 (Thu, 25 Sep 2008)

Log Message:
-----------
Fix small test failure

Modified Paths:
--------------
    nagiosplug/trunk/plugins/tests/check_http.t

Modified: nagiosplug/trunk/plugins/tests/check_http.t
===================================================================
--- nagiosplug/trunk/plugins/tests/check_http.t	2008-09-25 08:01:27 UTC (rev 2055)
+++ nagiosplug/trunk/plugins/tests/check_http.t	2008-09-25 08:04:42 UTC (rev 2056)
@@ -75,10 +75,10 @@
 is( $result->return_code, 0, "/file/root");
 like( $result->output, '/^HTTP OK HTTP/1.1 200 OK - 274 bytes in [\d\.]+ seconds/', "Output correct" );
 
+$result = NPTest->testCmd( "$command -u /file/root -s Root" );
+is( $result->return_code, 0, "/file/root search for string");
 TODO: {
 local $TODO = "Output is different if a string is requested - should this be right?";
-$result = NPTest->testCmd( "$command -u /file/root -s Root" );
-is( $result->return_code, 0, "/file/root search for string");
 like( $result->output, '/^HTTP OK HTTP/1.1 200 OK - 274 bytes in [\d\.]+ seconds/', "Output correct" );
 }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.