Commit Graph

304 Commits

Author SHA1 Message Date
Jille Timmermans
74b4ef5036 Implement boolval() with a test 2012-06-06 22:34:51 +02:00
Anatoliy Belsky
b43d6c8522 Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Fix bug #61992 ext\standard\tests\general_functions\bug44295.phpt fails
2012-05-10 17:32:21 +02:00
Anatoliy Belsky
266578f584 Fix bug #61992 ext\standard\tests\general_functions\bug44295.phpt fails
Exception text differ on windows
2012-05-10 17:07:38 +02:00
Xinchen Hui
a601605f14 merge test from PHP-5.4 2012-04-30 12:33:55 +08:00
Xinchen Hui
d80a3d9668 Revert "Merge branch 'fix-pro_nice-test' of https://github.com/reeze/php-src into PHP-5.3"
After pushed, I found the test script in 5.4 is already fixed this, so
revert this change, and be consistent with 5.4's test

This reverts commit 24d85e4bd8, reversing
changes made to bae56a87f8.
2012-04-30 12:31:33 +08:00
reeze
e52be10b30 Fix test for proc_nice: bsd ps command didn't support option -o "%p %n" 2012-04-30 00:59:54 +08:00
Gustavo André dos Santos Lopes
ca58cd01fc Cherry-pick 4cc74767
Headers: forbid \r and \n also after \0, allow CRLF followed by HT or SP and forbid \0. See bug #60227.

Conflicts:

	ext/standard/tests/general_functions/bug60227.phpt
	ext/standard/tests/general_functions/bug60227_1.phpt
	ext/standard/tests/general_functions/bug60227_2.phpt
	main/SAPI.c
2012-04-04 09:59:51 +01:00
Anatoliy Belsky
2a8866ba5e Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Fix bug #61454 ext\standard\tests\general_functions\bug49847.phpt fails
2012-04-03 13:24:31 +02:00
Anatoliy Belsky
14e74aeb57 Fix bug #61454 ext\standard\tests\general_functions\bug49847.phpt fails 2012-04-03 13:23:06 +02:00
Hannes Magnusson
10809686f0 Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Fix test on FreeBSD and other systems that have /etc/services
2012-03-24 17:59:52 +01:00
Hannes Magnusson
948d326b29 Fix test on FreeBSD and other systems that have /etc/services 2012-03-24 17:58:40 +01:00
Stanislav Malyshev
4cc747677c MFH: Headers: forbid \r and \n also after \0, allow CRLF followed by HT or SP and forbid \0. See bug #60227. 2012-03-07 07:49:56 +00:00
Gustavo André dos Santos Lopes
8e82bda330 - Merging r323033 into 5.3 (see bug #60227). 2012-02-03 08:48:34 +00:00
Rui Hirokawa
61088ce729 MFH: fixed bug #60227: header() cannot detect the multi-line header with CR. 2012-01-14 07:41:01 +00:00
Nuno Lopes
bf7df5aff5 do kill 9 to fix a race condition in this test. (should fix the debian 32-bit buildbot) 2012-01-08 18:03:56 +00:00
Nuno Lopes
4cc04be260 do kill 9 to fix a race condition in this test. (should fix the debian 32-bit buildbot) 2012-01-08 18:03:56 +00:00
Felipe Pena
4fffb5f5e0 - Fixed invalid free in call_user_method() function 2011-11-22 12:47:08 +00:00
Felipe Pena
375949781f - Fixed invalid free in call_user_method() function 2011-11-22 12:47:08 +00:00
David Soria Parra
fa4f7411a3 Forgot the bug specific test. 2011-11-15 13:36:45 +00:00
David Soria Parra
13ba2da5f6 Fixed bug #55371 (get_magic_quotes_gpc() throws deprecation warning.)
Patch by David Zuelke <david dot zuelke at bitextender dot com>
2011-11-15 13:22:52 +00:00
Rui Hirokawa
40a951ccad revert changes to fix bug #60116. 2011-11-11 14:52:56 +00:00
Rui Hirokawa
cc74264764 MFH: fixed bug #60227 (header() cannot detect the multi-line header with CR(0x0D).) 2011-11-10 14:24:31 +00:00
Rui Hirokawa
db5d9c0b66 MFH: fixed bug #60116 (escapeshellcmd() cannot escape the characters which cause shell command injection). 2011-11-10 14:19:06 +00:00
Ferenc Kovacs
b38d56616b adding SKIP_SLOW_TESTS checks for the slow tests, and additionaly sync the domains used in the ext/standard/tests/network/getmxrr.phpt with the other branches 2011-10-23 10:09:29 +00:00
Ferenc Kovacs
8066746c73 adding SKIP_SLOW_TESTS checks for the slow tests, and additionaly sync the domains used in the ext/standard/tests/network/getmxrr.phpt with the other branches 2011-10-23 10:09:29 +00:00
Stanislav Malyshev
d81ea16ef1 Changed silent conversion of array to string to produce a notice. (Patrick) 2011-10-21 06:08:47 +00:00
Xinchen Hui
29bba1fd42 Fix test, Make warning message bison independed 2011-09-14 08:49:29 +00:00
Xinchen Hui
7bd4924bf7 Fix test, Make warning message bison independed 2011-09-14 08:49:29 +00:00
Xinchen Hui
e29ee12223 MFH, fix test 2011-09-13 13:02:57 +00:00
Xinchen Hui
3331bfb604 MFH, fix test 2011-09-13 13:02:57 +00:00
Rasmus Lerdorf
d8a0b1a9e3 This test was added to verify that bug 39322 was fixed, which the test
does test for and this works. However, it consistently failed because
it relied on a SIGHUP not terminating a sh -c /usr/bin/nohup sleep 50
process which doesn't work because the SIGHUP goes to the sh process
not the nohup'ed sleep process. So, I have sped up the test and removed
the nohup and instead of trying to SIGHUP I am just doing the equivalent
of a kill 0 on it to verify that the resource sticks around.
2011-09-07 18:09:34 +00:00
Rasmus Lerdorf
6f03c9e38e This test was added to verify that bug 39322 was fixed, which the test
does test for and this works. However, it consistently failed because
it relied on a SIGHUP not terminating a sh -c /usr/bin/nohup sleep 50
process which doesn't work because the SIGHUP goes to the sh process
not the nohup'ed sleep process. So, I have sped up the test and removed
the nohup and instead of trying to SIGHUP I am just doing the equivalent
of a kill 0 on it to verify that the resource sticks around.
2011-09-07 18:09:34 +00:00
Pierre Joye
a65e04be53 - not used anymore, one version to rule them all 2011-09-05 11:00:52 +00:00
Pierre Joye
0f8594f753 - not used anymore, one version to rule them all 2011-09-05 11:00:52 +00:00
Pierre Joye
6ff887636a - force LF and enable it on windows now 2011-09-05 10:59:26 +00:00
Stanislav Malyshev
1c83f5e04c fix tests 2011-08-01 03:42:02 +00:00
Rasmus Lerdorf
c2663588e1 When you add something that changes the phpinfo output, please
update this test.
2011-07-25 05:32:08 +00:00
Pierrick Charron
824726073b Delete empty test files (old MQ tests) 2011-07-22 12:12:05 +00:00
Pierre Joye
45420bb669 - remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ, missing tests changes in 5.4 2011-07-22 11:56:20 +00:00
Gustavo André dos Santos Lopes
404686447b - Fixed bug #55082 (var_export() doesn't escape properties properly). 2011-06-30 09:26:35 +00:00
Gustavo André dos Santos Lopes
3dafd9549d - Fixed bug #55082 (var_export() doesn't escape properties properly). 2011-06-30 09:26:35 +00:00
Hannes Magnusson
ffc6da20a0 These are annoyingly slow 2011-06-23 21:27:42 +00:00
Hannes Magnusson
71a5c3d7ec These are annoyingly slow 2011-06-23 21:27:42 +00:00
Ilia Alshanetsky
34d93f0c06 Zend Signal Handling 2011-06-22 14:23:21 +00:00
Philip Olson
983cedfd94 Fixed test, as per r311323 2011-05-25 00:02:05 +00:00
Philip Olson
f5b67e09b9 Fixed test, as per r311323 2011-05-25 00:02:05 +00:00
Rasmus Lerdorf
ba8ce4a6d4 Increase the overly conservative pcre backtrack limit from 100000 to 1000000 2011-05-21 19:48:37 +00:00
Rasmus Lerdorf
f5a9e17f9c Increase the overly conservative pcre backtrack limit from 100000 to 1000000 2011-05-21 19:48:37 +00:00
Antony Dovgal
bb2ccc96d3 fix tests 2011-05-04 08:44:14 +00:00
Jani Taskinen
17d1b1310e - Fix test 2010-12-03 16:02:47 +00:00