summaryrefslogtreecommitdiff
path: root/ext/sysvshm/tests
Commit message (Collapse)AuthorAgeFilesLines
* Replace dirname(__FILE__) by __DIR__ in testsFabien Villepinte2019-03-151-2/+2
|
* Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-154-6/+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-149-9/+9
|
* Use bool instead of boolean while throwing a type errorGabriel Caruso2018-02-041-2/+2
| | | | | | | | | | PHP requires boolean typehints to be written "bool" and disallows "boolean" as an alias. This changes the error messages to match the actual type name and avoids confusing messages like "must be of type boolean, boolean given". This a followup to ce1d69a1f6dcf15d43029301059c25e5bc09a577, which implements the same change for integer->int.
* Use int instead of integer in type errorsGabriel Caruso2018-02-046-11/+11
| | | | | | | PHP requires integer typehints to be written "int" and does not allow "integer" as an alias. This changes type error messages to match the actual type name and avoids confusing messages like "must be of the type integer, integer given".
* fix testAnatol Belski2016-08-181-1/+1
|
* Fixed bug #72858 shm_attach null dereferenceAnatol Belski2016-08-181-0/+20
|
* add testAnatol Belski2015-09-221-0/+22
|
* Fixed bug #70546 (ext/sysvshm: two broken tests on Solaris) by rainer.jungXinchen Hui2015-09-222-3/+1
|
* Windows support for sysvshmKalle Sommer Nielsen2015-04-227-7/+28
| | | | | | | A little background: * key_t is an int, like ext/shmop * There is no ftok() (from ext/standard), so tests have a new check to see whether or not it is available. This however means that the 7 tests will all be skipped for Windows. I know we cannot properly implement an ftok() function since there is no inodes for NTFS, maybe we should look into using the GetFileInfoByHandle() or similar to use the system unique ID for a file to get the same functionality, Anatol? * Despite the lack of phpt's, local testing works flawlessly but we better look into a solution for this if we are to keep this patch
* Use "float" and "integer" in typehint and zpp errorsAndrea Faulds2014-12-211-1/+1
|
* Refactor sysvsem, sysvshm, sysmsgXinchen Hui2014-05-092-3/+3
|
* - add skipifPierre Joye2011-09-061-0/+2
|
* MFH: Fixed error message grammar:Matt Wilmas2009-06-061-5/+5
| | | | | | | | | - "cannot" instead of "can not" (meaning "also can") - "than" instead of "then" (Hint: "then" should hardly be needed; you're not telling the order in which to do something) ... plus removed a couple ending. dots
* - Sync code with HEADFelipe Pena2008-12-246-45/+49
| | | | | - [DOC] Backported: shm_has_var()
* fix testAntony Dovgal2008-07-011-1/+1
|
* - New parameter parsing APIFelipe Pena2008-06-277-31/+32
|
* MFHAntony Dovgal2007-06-251-1/+9
|
* Unify validation of shm segment size inside shm_attach()Ilia Alshanetsky2007-02-241-11/+11
|
* add new testsAntony Dovgal2006-06-297-0/+352