Security Tests
| From: | Ant Phillips | Date: | Thu, 08 May 2008 20:42:17 +0000 |
| Subject: | Security Tests | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-64295@lists.php.net to get a copy of this message | ||
Hi All,
I've written a bunch of tests for the open_basedir configuration setting.
While not complete yet they do test open_basedir against several file,
directory and error_log functions. The problem is that they all use the same
include file to help setup some directories and files for testing
(open_basedir.inc). I could copy this into every directory that has some
open_basedir tests but that duplicates the include file everywhere.
I could equally put this include file in one place and include it from
everywhere (any opinions where this should be?).
I was thinking about creating a directory under /tests/security and putting
all the open_basedir tests in one place.
Thoughts?
Ant