summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f4a5259)
raw | patch | inline | side by side (parent: f4a5259)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Thu, 25 Sep 2008 08:04:42 +0000 (08:04 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Thu, 25 Sep 2008 08:04:42 +0000 (08:04 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2056 f882894a-f735-0410-b71e-b25c423dba1c
plugins/tests/check_http.t | patch | blob | history |
index d37856f83cbc2fb903262c620af6130cbe84126f..6b932d9d68d390bf9d012064b3f1bca2acf30e67 100755 (executable)
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" );
}