diff options
author | Chris Wilson <chris+github@qwirx.com> | 2009-03-16 21:46:21 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2009-03-16 21:46:21 +0000 |
commit | b0625ce07b2a6a60c95ed25ed2f78fd038c4e833 (patch) | |
tree | d831b23d6048b5e484af92302e7585c15b92ec4c | |
parent | 1fce3a564b9a519ef95bdb5173b7fbefa6493c51 (diff) |
Add comment about running test as root.
-rw-r--r-- | test/httpserver/testhttpserver.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/httpserver/testhttpserver.cpp b/test/httpserver/testhttpserver.cpp index 0b610c59..c38ef8fe 100644 --- a/test/httpserver/testhttpserver.cpp +++ b/test/httpserver/testhttpserver.cpp @@ -580,6 +580,8 @@ int test(int argc, const char *argv[]) TEST_EQUAL(404, response.GetResponseCode()); } + // Make file inaccessible, should cause server to return a 403 error, + // unless of course the test is run as root :) { TEST_THAT(chmod("testfiles/testrequests.pl", 0) == 0); HTTPRequest request(HTTPRequest::Method_GET, |