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

tonvoon at users.sourceforge.net tonvoon at users.sourceforge.net
Thu Sep 25 10:04:43 CEST 2008


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.




More information about the Commits mailing list