[Box Backup-commit] COMMIT r2454 - box/trunk/test/httpserver

boxbackup-dev at boxbackup.org boxbackup-dev at boxbackup.org
Mon Mar 16 21:46:22 GMT 2009


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,




More information about the Boxbackup-commit mailing list