Peter Kokot
782352c54a
Trim trailing whitespace in *.phpt
2018-10-14 19:45:12 +02:00
Peter Kokot
17ccbeec32
Trim trailing whitespace in *.phpt
2018-10-14 19:44:14 +02:00
Gabriel Caruso
9c144e0d82
Trim trailing whitespace in tests
2018-10-14 12:07:20 -03:00
Christoph M. Becker
0a51e75e28
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #75696 : posix_getgrnam fails to print details of group
2018-09-01 14:30:08 +02:00
Christoph M. Becker
7bcda659f8
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #75696 : posix_getgrnam fails to print details of group
2018-09-01 14:28:13 +02:00
Christoph M. Becker
2677d43850
Fix #75696 : posix_getgrnam fails to print details of group
...
According to the POSIX specification of `getgrnam_r()` the result of
`sysconf(_SC_GETGR_R_SIZE_MAX)` is an initial value suggested for the
size of the buffer, and `ERANGE` signals that insufficient storage was
supplied. So if we get `ERANGE`, we try again with a buffer twice as
big, and so on, instead of failing.
2018-09-01 14:25:59 +02:00
Gabriel Caruso
ded3d984c6
Use EXPECT instead of EXPECTF when possible
...
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00
Gabriel Caruso
ce1d69a1f6
Use int instead of integer in type errors
...
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".
2018-02-04 19:08:23 +01:00
Gabriel Caruso
53dbc69a8d
Use %d when expecting line number in tests
2018-02-02 22:35:13 +01:00
Tom Van Looy
04fb3f28ff
Remove superfluous semicolons
2017-06-26 00:23:25 +02:00
Shaikhul Chowdhury
6ee932ccce
Add basic test for posix_setegid function
2017-06-02 23:43:56 +02:00
Nikita Popov
fb008bf60e
Remove obsolete version checks from tests
2017-02-02 00:58:04 +01:00
Christoph M. Becker
727b422ad9
Fix #72948 : Uncatchable "Catchable" fatal error for class to string conversions
...
E_RECOVERABLE errors are reported as "Catchable fatal error". This is
misleading, because they actually can't be caught via try-catch statements.
Therefore we change the wording to "Recoverable fatal error" as suggested by
Nikita.
2016-09-03 13:05:37 +02:00
Magnus Määttä
963d906aff
Add posix_setrlimit() FR #54603
2015-07-08 22:12:07 +02:00
Andrea Faulds
e5eb9530ab
Use "float" and "integer" in typehint and zpp errors
2014-12-21 13:23:02 +00:00
Andrea Faulds
088580557d
skip posix 32-bit
2014-11-28 23:39:08 +00:00
Florian MARGAINE
62f6c3c0c4
Fixes posix tests
2014-11-09 22:48:56 +01:00
Stanislav Malyshev
b727934591
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix test - on CI somebody could create a process in the meantime
2014-04-14 15:45:53 -07:00
Stanislav Malyshev
eea75e7146
Fix test - on CI somebody could create a process in the meantime
2014-04-14 15:44:23 -07:00
Rasmus Lerdorf
2129de4569
These getpwnam('') tests are silly and not portable
2013-10-20 14:04:47 -07:00
Veres Lajos
8d86597d73
non living code related typo fixes
2013-08-04 16:05:36 -07:00
David Soria Parra
b9babd22e0
Merge branch 'PHP-5.3' into PHP-5.4
...
By Stanislav Malyshev (1) and michelangelo (1)
* PHP-5.3:
Adding a test for ext/posix/tests/posix_getegid_basic.phpt
typo
2012-06-10 17:08:02 +04:00
michelangelo
cda14b995c
Adding a test for ext/posix/tests/posix_getegid_basic.phpt
2012-06-10 17:07:49 +04:00
zoe slattery
d99203d44b
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Small fixes to tests, see #62022
2012-05-15 11:43:28 +01:00
zoe slattery
e35f09d774
Small fixes to tests, see #62022
2012-05-15 11:42:14 +01:00
Stanislav Malyshev
d81ea16ef1
Changed silent conversion of array to string to produce a notice. (Patrick)
2011-10-21 06:08:47 +00:00
Ulf Wendel
58e167974c
Fixing SKIPIF
2011-09-06 16:39:55 +00:00
Ulf Wendel
d73b285950
Fixing SKIPIF
2011-09-06 16:39:55 +00:00
Ulf Wendel
1ffe46c020
Fixing SKIPIF
2011-09-06 16:37:45 +00:00
Ulf Wendel
b8ecb0c4af
Fixing SKIPIF
2011-09-06 16:37:45 +00:00
Pierre Joye
9a6b6f3dc7
- add skipif
2011-09-06 06:57:53 +00:00
Pierre Joye
9a3da11206
- add skipif
2011-09-06 06:57:53 +00:00
Stanislav Malyshev
1c83f5e04c
fix tests
2011-08-01 03:42:02 +00:00
Felipe Pena
4667771a5f
- Fixed no bailout address error and posix tests
2010-11-02 18:06:39 +00:00
Kalle Sommer Nielsen
a448b6a72b
MFB53: Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED ( Fixes #52570 )
...
# Some of the updated tests were to make them sync with 5.3 although they don't run on trunk anymore
2010-08-11 21:41:30 +00:00
Kalle Sommer Nielsen
8deefa8780
Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED ( Fixes #52570 )
...
# Trunk patch will follow shortly
2010-08-11 21:12:18 +00:00
Kalle Sommer Nielsen
dd8e59da8f
Removed safe_mode
...
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Felipe Pena
0a7fe05ab7
- Fix test (Bug #51035 )
2010-02-15 21:24:17 +00:00
Jani Taskinen
c9b509f90b
- Removed duplicate tests (bug #51007 )
2010-02-12 17:09:09 +00:00
Rasmus Lerdorf
978452be20
These tests don't work when run as root
2009-11-25 03:53:50 +00:00
Rasmus Lerdorf
eab96b63ca
Need the PCNTL extension loaded since that is where the SIGKILL constant comes from
2009-11-23 21:24:20 +00:00
Rasmus Lerdorf
daf47a8519
This will only get a permission defined error if not running as root.
2009-11-23 21:13:26 +00:00
Dmitry Stogov
623fe9aaf9
Fixed tests
2009-09-21 11:30:38 +00:00
Dmitry Stogov
7bfe056174
Fixed tests
2009-09-21 09:52:19 +00:00
Zoe Slattery
6a22ec3eda
More tests from 2009 testfest
2009-08-30 09:30:13 +00:00
Zoe Slattery
0e4ce3bcca
More tests from 2009 testfest
2009-08-28 14:31:19 +00:00
andy wharmby
39fd3a2b3c
Fix tests. Add missing SKIPIF sections so test do not run when POSIX extension not available.
2009-08-27 12:21:19 +00:00
Zoe Slattery
1c98e49afd
Test from 2009 testfest
2009-08-26 17:17:58 +00:00
Zoe Slattery
9ff94c82df
Remove empty sections. Fix bad use of --SKIP--
2009-07-21 14:02:24 +00:00
andy wharmby
4a110443df
New POSIX extension tests from Berlin UG TestFest 2009.
2009-06-15 12:14:55 +00:00