[Box Backup-commit] COMMIT r2454 - box/trunk/test/httpserver
boxbackup-dev@boxbackup.org
boxbackup-dev@boxbackup.org
Mon, 16 Mar 2009 21:46:22 +0000 (GMT)
Author: chris
Date: 2009-03-16 21:46:21 +0000 (Mon, 16 Mar 2009)
New Revision: 2454
Modified:
box/trunk/test/httpserver/testhttpserver.cpp
Log:
Add comment about running test as root.
Modified: box/trunk/test/httpserver/testhttpserver.cpp
===================================================================
--- box/trunk/test/httpserver/testhttpserver.cpp 2009-03-16 21:46:03 UTC (rev 2453)
+++ box/trunk/test/httpserver/testhttpserver.cpp 2009-03-16 21:46:21 UTC (rev 2454)
@@ -580,6 +580,8 @@
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,