Commit Graph

26642 Commits

Author SHA1 Message Date
Adam Harvey
325ca60fa7 Fix bug #60933 (Testing asort with SORT_LOCALE_STRING fails on Mac OS X 10.6) on PHP_5_3 and trunk. 2012-02-03 01:21:24 +00:00
Gustavo André dos Santos Lopes
f906a015bb - Hopefully correct fix for bug #60227.
#No commit for 5.4 for now
2012-02-02 18:24:53 +00:00
Andrey Hristov
7153f7f887 assert 2012-02-02 15:00:42 +00:00
Dmitry Stogov
9c0c756417 Fixed basic HTTP authentication for WSDL sub requests. 2012-02-01 12:16:52 +00:00
Dmitry Stogov
e63f7f5a6c Fixed basic HTTP authentication for WSDL sub requests 2012-02-01 11:26:57 +00:00
Pierre Joye
88b00ff6df - fix #55226, WS 2012-01-31 07:17:05 +00:00
Pierre Joye
601f05f1b8 - fix #55226, fix build 2012-01-31 07:14:36 +00:00
Adam Harvey
4dc8b1ad11 Fix bug #60801 (strpbrk() mishandles NUL byte) on trunk only for now. 2012-01-30 13:29:15 +00:00
Rasmus Lerdorf
dc27324dd9 createCollation() for pdo_sqlite as well
Closes bug #55226
2012-01-29 04:22:23 +00:00
Rasmus Lerdorf
d8b312845c Missed the test 2012-01-29 04:20:50 +00:00
Rasmus Lerdorf
9b55be870c Good patch from Brad Dewar that adds missing createCollation()
method. Fixes bug #60871 and is related to bug #55226
2012-01-29 03:57:29 +00:00
Felipe Pena
acaf9c5227 - Fixed bug #60860 (session.save_handler=user without defined function core dumps) 2012-01-28 01:24:54 +00:00
Rasmus Lerdorf
7a7e14f502 Please test your tests 2012-01-23 06:39:01 +00:00
Gustavo André dos Santos Lopes
f5a4573182 - Further fix for bug #60455 (stream_get_line misbehaves if EOF is not detected
together with the last read).
- Fixed bug #60817 (stream_get_line() reads from stream even when there is
  already sufficient data buffered). stream_get_line() now behaves more like
  fgets(), as is documented.
#withheld commit to 5.4
2012-01-22 20:30:37 +00:00
Nuno Lopes
023555c7c6 revert r319254 (fix bug #54682) since it is not correct
add test that was broken with that patch.
this bug is probably in libtidy itself and not in PHP. I didn't investigate it enough to confirm, though
2012-01-21 11:32:56 +00:00
Pierrick Charron
1bad879f4c Remove memory leak in substr_replace (to commit in 5.4 after code freeze) 2012-01-20 13:20:14 +00:00
Scott MacVicar
96aa2eb234 Fix CVE-2011-3389. Possible attack on CBC mode with TLS 1.0.
See http://www.openssl.org/~bodo/tls-cbc.txt

The biggest reason for this mode being in SSL_OP_ALL was older versions
of IE (2002) talking to servers using OpenSSL.

Can hopefully get this into 5.4.
2012-01-20 05:31:53 +00:00
Ferenc Kovacs
59fd8d21c9 merging the patch from #52078, fixes the test on disk with huge inode size(fileinode() can overflow and return negative values there). will merge this to PHP_5_4 after the commit freeze. 2012-01-19 00:20:04 +00:00
Pierre Joye
db5751c91c - add test for bug #60761 2012-01-18 20:29:13 +00:00
Pierre Joye
27fb1c24b7 - add test for bug #60761 2012-01-18 20:21:40 +00:00
Michael Wallner
9168f1c807 remove XFAIL for bug #47178 2012-01-18 10:16:37 +00:00
Michael Wallner
d6b11dbfdf fix tests I borked 2012-01-17 17:21:32 +00:00
Michael Wallner
2d2aefe414 remove Salsa10/Salsa20, which are actually stream ciphers not hash functions 2012-01-17 16:35:32 +00:00
Michael Wallner
3e9a7c6c3d adapted tiger hash byte print order to those of md5 and sha1
see http://en.wikipedia.org/wiki/Tiger_(cryptography)
    http://www.cs.technion.ac.il/~biham/Reports/Tiger/test-vectors-nessie-format.dat

Closes Bug #60221 Tiger hash output byte order
2012-01-17 15:25:54 +00:00
Xinchen Hui
19a663d02d unnecessay slash 2012-01-17 14:32:01 +00:00
Sebastian Bergmann
ebddf8a975 Revert r322390. 2012-01-17 13:46:31 +00:00
Sebastian Bergmann
e76c1cc03c Implement ReflectionClass::setFinal() and ReflectionMethod::setFinal().
Patch by Jan Dolecek <juzna.cz@gmail.com>.
2012-01-17 12:59:33 +00:00
Dmitry Stogov
032d140fd6 Improved traits implementation. Now to support __CLASS__ constant in traits php doesn't have to copy the complete compiled method, but can reuse the same code. The resolution of __CLASS__ constants in methods defined in traits are delayed till run-time. This approach also made possible to use __CLASS__ constant as default value for traits properties and method arguments. 2012-01-17 08:09:13 +00:00
Boris Lytochkin
583292ab22 Fixed bug #60585 (php build fails with USE flag snmp when IPv6 support is disabled)
Fixed bug #60749 (SNMP module should not strip non-standard SNMP port from hostname)
Fixed ipv6 test skipto if IPv6 support is disabled
2012-01-13 18:34:21 +00:00
Christopher Jones
dd9ce389c2 Fix configuration message typo and alignment (5.4 merge approved by Stas) 2012-01-12 23:23:05 +00:00
Dmitry Stogov
fc2d10a4d3 Fixed incorrect type cast 2012-01-11 15:04:14 +00:00
Pierre Joye
71edeb61bd - make it windows version independent, error msg differs, bad but well 2012-01-10 08:30:00 +00:00
Pierre Joye
5d6446513e - error is windows version dependent and not what we test here 2012-01-09 15:31:33 +00:00
Rasmus Lerdorf
cb6603ac56 These tests don't work if run as root 2012-01-08 18:43:30 +00:00
Gustavo André dos Santos Lopes
10324891f8 - Added the ability for the intl exception to throw exceptions when a global error is set. 2012-01-08 18:41:53 +00:00
Rasmus Lerdorf
2651a1fc39 Make sure gc is enabled 2012-01-08 18:22:50 +00:00
Nuno Lopes
34bcd34b8c 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
Daniel Convissor
bbf403f4ce Remove test for bug 60675, the change in behavior between 5.3 and 5.4 is intentional. 2012-01-07 23:09:49 +00:00
Daniel Convissor
b21b982672 Test for bug 60675. 2012-01-06 22:10:04 +00:00
Stanislav Malyshev
951940668d move to XFAIL since it fails on 32-bit 2012-01-04 20:40:13 +00:00
Arpad Ray
ed4041c6c5 add more tests for #60634 (stems from #21306) and xfail them all for the moment 2012-01-04 11:44:05 +00:00
Arpad Ray
7b7c871d65 fix return values of inherited session handler to match user handlers - #60640 2012-01-04 01:31:30 +00:00
Arpad Ray
5142a4edc8 add SessionHandlerInterface for session_set_save_handler() - #60551 2012-01-04 01:16:45 +00:00
Arpad Ray
e41557e8db add test for #60634 2012-01-03 21:47:16 +00:00
Matteo Beccati
479a3c3dc5 Bug #55663, fixed test for bug 43139 on Firebird. Per request from mariuz 2012-01-02 11:43:25 +00:00
Stanislav Malyshev
e2a2ed348f fix bug #55871 - Interruption in substr_replace() 2012-01-02 00:47:57 +00:00
Stanislav Malyshev
80dd931d40 add test for ob_gzhandler 2012-01-01 23:51:21 +00:00
Felipe Pena
8775a37559 - Year++ 2012-01-01 13:15:04 +00:00
Popa Adrian Marius
b85713cbf0 Fixed PDO_Firebird: bug 53280 segfaults if query column count is less than param count 2011-12-28 19:58:37 +00:00
Popa Adrian Marius
13fb5735fc fix tablename in testcase test->testz 2011-12-28 19:09:41 +00:00
Popa Adrian Marius
40656de5bd Added test case for PDO_Firebird: bug 53280 segfaults if query column count is less than param count 2011-12-28 18:52:39 +00:00
Popa Adrian Marius
9e06b7f41d fix Bug #47415 PDO_Firebird segfaults when passing lowercased column name to bindColumn() 2011-12-28 10:17:17 +00:00
Popa Adrian Marius
06273de0fa one more error to fix Table unknown TEST , it should be TESTZ 2011-12-28 10:04:25 +00:00
Popa Adrian Marius
6a3148ecef fix table name in testcase 2011-12-28 09:59:53 +00:00
Popa Adrian Marius
39a973a0c5 added testcase for Bug 47415 2011-12-28 09:53:15 +00:00
Popa Adrian Marius
a1952e19f9 cleanup for bug 48877 test, add description 2011-12-28 09:41:02 +00:00
Popa Adrian Marius
a2e6b0f5a1 remove experimental status for pdo_Firebird , see the general status http://www.firebirdnews.org/?p=6619 2011-12-28 09:31:18 +00:00
Daniel Convissor
44851f4146 Resolve the last of the xfails from Bug 55253. 2011-12-28 01:13:12 +00:00
Daniel Convissor
16332c7ba2 Resolve more xfails due to Bug 55253 being fixed. 2011-12-27 19:44:13 +00:00
Daniel Convissor
feabf2cfda Resolve some xfails due to Bug 55253 being fixed. (merged from 54) 2011-12-27 16:57:36 +00:00
Popa Adrian Marius
d4d8294f31 http://gcov.php.net/viewer.php?version=PHP_5_3&func=tests&file=ext%2Fpdo_firebird%2Ftests%2Fbug_43130.phpt
fix failure for bug 43130
2011-12-27 16:49:00 +00:00
Popa Adrian Marius
13ed989dd2 PDO_Firebird: bug 48877 test 2011-12-27 10:54:47 +00:00
Pierre Joye
c3044c9fcf - fix bug 60326, fix crash introduce by the fix 2011-12-27 02:39:14 +00:00
Pierre Joye
dfa30f03b6 - Fix bug #60326, fix TS build (introduced by r321406) 2011-12-26 12:32:05 +00:00
Stanislav Malyshev
bb6855124d fix bug #60326 - restore ob_gzhandler 2011-12-26 08:29:11 +00:00
Stanislav Malyshev
3dac688483 test fixes 2011-12-26 03:22:07 +00:00
Stanislav Malyshev
d705b11a1e fix uninitialized var that may lead to crash 2011-12-26 02:16:37 +00:00
Pierrick Charron
066879fde3 Coding standards 2011-12-23 21:01:05 +00:00
Gustavo André dos Santos Lopes
d1be77edfb - Fixed bug #60570 (http wrapper leaks context resource if request fails/is
redirected).
2011-12-21 15:44:58 +00:00
Scott MacVicar
a020456d0b Add tests for OpenSSL crash. 2011-12-19 03:09:05 +00:00
Scott MacVicar
61f3d36ac1 Fix segfault in older versions of OpenSSL (before 0.9.8i) 2011-12-18 05:14:32 +00:00
Xinchen Hui
5da241ca99 fix tests 2011-12-17 04:21:14 +00:00
Andrey Hristov
e385335db2 fix for 5.5.19 2011-12-14 19:29:45 +00:00
Andrey Hristov
d671f26c46 another fix 2011-12-14 19:28:41 +00:00
Andrey Hristov
7512b84a20 fix test 2011-12-14 18:37:49 +00:00
Andrey Hristov
727731cf98 fix test 2011-12-14 18:36:04 +00:00
Andrey Hristov
0d2af0c3ee fix typo 2011-12-14 17:59:11 +00:00
Andrey Hristov
8b64eaf6c8 add some PHPAPI 2011-12-14 16:28:13 +00:00
Andrey Hristov
e82bbe91c5 fix test 2011-12-14 16:27:52 +00:00
Pierrick Charron
4b14c11dcd Unregister appropriate curl wrappers 2011-12-14 04:02:56 +00:00
Pierrick Charron
e37506bd58 Remove dead code
# curl_version_info was introduced in 7.10 and the PHP requirement is 7.10.5
2011-12-14 03:45:44 +00:00
Pierre Joye
b52ed277e3 - tmp dir is system depedent 2011-12-13 23:18:12 +00:00
Pierre Joye
49986dbf87 - skip on win 2011-12-13 23:04:01 +00:00
Pierre Joye
ccbfe64528 - ignore notices here, not what we test (array to string conversion) 2011-12-13 13:46:27 +00:00
Pierre Joye
65ea281189 - use the test itself, making the test passes when ran outside the src tree 2011-12-12 19:09:01 +00:00
Pierre Joye
f776d2621c - skip on win 2011-12-12 14:03:24 +00:00
Pierre Joye
4982528a94 - skip on win 2011-12-12 14:02:06 +00:00
Pierre Joye
5df197a5c6 - skip on win 2011-12-12 13:56:42 +00:00
Pierre Joye
4a5ce0c0aa - skip on win 2011-12-12 13:53:38 +00:00
Pierre Joye
275dc66774 - skip on win 2011-12-12 13:49:21 +00:00
Pierre Joye
c0aca2f440 - skip on win 2011-12-12 13:34:21 +00:00
Pierre Joye
e1d45c6db8 - skip on win 2011-12-12 13:31:43 +00:00
Derick Rethans
1d7ed3f0dc This test should no longer fail, and is perfectly okay for Linux to test on too. 2011-12-12 12:57:46 +00:00
Gustavo André dos Santos Lopes
faec3c5111 - Fixed bug #60455: stream_get_line misbehaves if EOF is not detected together
with the last read.
2011-12-11 21:08:15 +00:00
Popa Adrian Marius
1754e16335 bug fixed #48877 - bindValue and bindParam do not work for PDO Firebird 2011-12-10 22:08:39 +00:00
Patrick Allaert
2b392c9c10 Added tests contributions on spl_autoload and stream_context_set_option()
Thank you Jean-Marc Fontaine and Alter Way
2011-12-09 11:15:12 +00:00
Christopher Jones
20f0acae85 Fix skipif 2011-12-08 20:43:23 +00:00
Pierrick Charron
64963d6e19 Fix curl_copy_handle_basic_008.phpt when display_errors is On
(Thanks Chris Jones)
2011-12-08 18:57:01 +00:00
Scott MacVicar
b69cfde570 Make sure that we set the strong crypto result to false as well as returning false. 2011-12-07 20:50:33 +00:00
Derick Rethans
96f55bb628 Test cosmetics. 2011-12-07 19:42:44 +00:00