diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2008-09-25 08:04:42 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2008-09-25 08:04:42 +0000 |
commit | 4181892bccbf19ee8fe48e8f2613845ac2ade676 (patch) | |
tree | 73306336e8077bdbb264e82d190addc18172d714 /plugins/tests | |
parent | f4a52594818e7c3634a397ac1f86ef87a68bd121 (diff) | |
download | monitoring-plugins-4181892bccbf19ee8fe48e8f2613845ac2ade676.tar.gz |
Fix small test failure
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2056 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/tests')
-rwxr-xr-x | plugins/tests/check_http.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/tests/check_http.t b/plugins/tests/check_http.t index d37856f8..6b932d9d 100755 --- a/plugins/tests/check_http.t +++ b/plugins/tests/check_http.t | |||
@@ -75,10 +75,10 @@ $result = NPTest->testCmd( "$command -u /file/root" ); | |||
75 | is( $result->return_code, 0, "/file/root"); | 75 | is( $result->return_code, 0, "/file/root"); |
76 | like( $result->output, '/^HTTP OK HTTP/1.1 200 OK - 274 bytes in [\d\.]+ seconds/', "Output correct" ); | 76 | like( $result->output, '/^HTTP OK HTTP/1.1 200 OK - 274 bytes in [\d\.]+ seconds/', "Output correct" ); |
77 | 77 | ||
78 | TODO: { | ||
79 | local $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" ); |
81 | is( $result->return_code, 0, "/file/root search for string"); | 79 | is( $result->return_code, 0, "/file/root search for string"); |
80 | TODO: { | ||
81 | local $TODO = "Output is different if a string is requested - should this be right?"; | ||
82 | like( $result->output, '/^HTTP OK HTTP/1.1 200 OK - 274 bytes in [\d\.]+ seconds/', "Output correct" ); | 82 | like( $result->output, '/^HTTP OK HTTP/1.1 200 OK - 274 bytes in [\d\.]+ seconds/', "Output correct" ); |
83 | } | 83 | } |
84 | 84 | ||