summaryrefslogtreecommitdiffstats
path: root/plugins/tests
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/tests')
-rwxr-xr-xplugins/tests/check_http.t4
1 files changed, 2 insertions, 2 deletions
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" );
75is( $result->return_code, 0, "/file/root"); 75is( $result->return_code, 0, "/file/root");
76like( $result->output, '/^HTTP OK HTTP/1.1 200 OK - 274 bytes in [\d\.]+ seconds/', "Output correct" ); 76like( $result->output, '/^HTTP OK HTTP/1.1 200 OK - 274 bytes in [\d\.]+ seconds/', "Output correct" );
77 77
78TODO: {
79local $TODO = "Output is different if a string is requested - should this be right?";
80$result = NPTest->testCmd( "$command -u /file/root -s Root" ); 78$result = NPTest->testCmd( "$command -u /file/root -s Root" );
81is( $result->return_code, 0, "/file/root search for string"); 79is( $result->return_code, 0, "/file/root search for string");
80TODO: {
81local $TODO = "Output is different if a string is requested - should this be right?";
82like( $result->output, '/^HTTP OK HTTP/1.1 200 OK - 274 bytes in [\d\.]+ seconds/', "Output correct" ); 82like( $result->output, '/^HTTP OK HTTP/1.1 200 OK - 274 bytes in [\d\.]+ seconds/', "Output correct" );
83} 83}
84 84