From: Ton Voon Date: Thu, 25 Sep 2008 08:04:42 +0000 (+0000) Subject: Fix small test failure X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4181892bccbf19ee8fe48e8f2613845ac2ade676;p=nagiosplug.git Fix small test failure git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2056 f882894a-f735-0410-b71e-b25c423dba1c --- diff --git a/plugins/tests/check_http.t b/plugins/tests/check_http.t index d37856f..6b932d9 100755 --- a/plugins/tests/check_http.t +++ b/plugins/tests/check_http.t @@ -75,10 +75,10 @@ $result = NPTest->testCmd( "$command -u /file/root" ); is( $result->return_code, 0, "/file/root"); like( $result->output, '/^HTTP OK HTTP/1.1 200 OK - 274 bytes in [\d\.]+ seconds/', "Output correct" ); -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"); +TODO: { +local $TODO = "Output is different if a string is requested - should this be right?"; like( $result->output, '/^HTTP OK HTTP/1.1 200 OK - 274 bytes in [\d\.]+ seconds/', "Output correct" ); }