Re: Security Tests
| From: | Derick Rethans | Date: | Fri, 09 May 2008 08:17:10 +0000 |
| Subject: | Re: Security Tests | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-64296@lists.php.net to get a copy of this message | ||
On Thu, 8 May 2008, Ant Phillips wrote:
> 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?
Sounds good to me.
regards,
Derick
--
Derick Rethans
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org