summaryrefslogtreecommitdiff
path: root/tests/security
Commit message (Collapse)AuthorAgeFilesLines
* Replace dirname(__FILE__) by __DIR__ in testsFabien Villepinte2019-03-151-1/+1
|
* Implement fine-grained conflict handlingNikita Popov2019-02-201-0/+1
| | | | | | Tests can specify conflict keys, either in --CONFLICTS-- or a per-directory CONFLICTS file. Non-conflicting tests may be run in parallel.
* Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-1543-43/+0
| | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines in all *.phpt sections. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* Trim trailing whitespace in testsGabriel Caruso2018-10-147-7/+7
|
* Sync leading and final newlines in source code filesPeter Kokot2018-10-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* Make more tests run on LinuxGabriel Caruso2018-08-281-6/+0
|
* Remove trailing whitespace in inc filesGabriel Caruso2018-02-101-4/+4
|
* Change PHP_OS_FAMILY slightlyKalle Sommer Nielsen2017-02-228-10/+10
| | | | | * PHP_OS_FAMILY is now a macro, to allow extensions to take advantage of it, it is defined in php.h * Values are not upper-case-first, not always uppercase. Windows is no longer just "Win", if we want the short version for testing then PHP_OS is always WINNT anyway
* add PHP_OS_FAMILY constant to determine on which os we areStricted2017-01-258-8/+8
|
* fix these tests so they properly clean up after themselves.Ferenc Kovacs2014-01-202-0/+2
|
* Merge branch 'PHP-5.3' into PHP-5.4Johannes Schlüter2012-11-151-0/+3
|\
| * Skip test if directory does not existJohannes Schlüter2012-11-151-0/+3
| | | | | | | | | | Would be good to run this using a directory which is existing everywhere.
| * - move it to the right placePierre Joye2011-09-061-0/+22
| |
| * - use %s, bad c/pPierre Joye2011-09-012-87/+21
| |
| * - win and nux work the same wayPierre Joye2011-09-011-6/+0
| |
| * Update the tests committed in r305098 (as part of the fix for bug #53226) toAdam Harvey2010-11-081-3/+1
| | | | | | | | | | use the PHP_MAXPATHLEN constant, as recommended by Pierre.
| * Fix bug #53226 (file_exists fails on big filenames).Adam Harvey2010-11-051-0/+31
| |
* | - move it to the right placePierre Joye2011-09-061-0/+22
| |
* | - use %s, bad c/pPierre Joye2011-09-011-14/+14
| |
* | - fix testPierre Joye2011-09-011-28/+21
| |
* | - win and nux work the same wayPierre Joye2011-09-012-65/+0
| |
* | fix testsStanislav Malyshev2011-08-312-6/+7
| |
* | Delete empty test files (old MQ tests)Pierrick Charron2011-07-221-0/+0
| |
* | - remove magic quotes support, functions are kept (see the NEWS entry for ↵Pierre Joye2011-07-221-13/+0
| | | | | | | | the details) for BC reasons but do not allow to set enable MQ, missing tests changes in 5.4
* | MFH: Fixes for broken tests.Stanislav Malyshev2011-05-271-3/+1
| |
* | MFH: Fix for failing test.Stanislav Malyshev2011-05-271-3/+1
| |
* | Update the tests committed in r305098 (as part of the fix for bug #53226) toAdam Harvey2010-11-081-3/+1
| | | | | | | | | | use the PHP_MAXPATHLEN constant, as recommended by Pierre.
* | Fix bug #53226 (file_exists fails on big filenames).Adam Harvey2010-11-051-0/+31
|/
* - Fix testJani Taskinen2009-12-111-0/+1
|
* - Fix tests .oO(why are there so many things broken in this branch..?)Jani Taskinen2009-07-252-4/+70
|
* MFH: The exact error message might differ (it's "Not owner" on Solaris) ↵Patrick Allaert2009-07-221-7/+7
| | | | (r265951)
* Remove empty sections. Fix bad use of --SKIP--Zoe Slattery2009-07-212-70/+4
|
* - Fixed ini deprecation message issues in tests.Jani Taskinen2009-05-061-1/+0
| | | | | # CGI headers are stripped and the error ends up there with CGI..
* Added E_DEPRECATED startup notice (5.3 only)Kalle Sommer Nielsen2009-05-041-0/+1
|
* fixed subtle bugs regarding attempting to chdir, plus cleanup issues. ↵Dave Kelsey2009-01-2227-91/+142
| | | | improved tempnam test, removed hardcoded line number. tested on windows, linux and linux 64bit.
* Added test for magic_quotes_gpcStefan Esser2008-12-111-0/+12
|
* - MFH: The exact error message might differ (it's "Not owner" on Solaris)Johannes Schlüter2008-09-079-72/+72
|
* MFH: Check the relevant path for open_basedir in symlink()Arnaud Le Blanc2008-08-111-0/+9
|
* fix testAntony Dovgal2008-06-091-0/+1
|
* Collect all the open_basedir security tests into one placeAnt Phillips2008-05-0947-0/+2959