1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 08:58:28 +02:00
Commit Graph

82 Commits

Author SHA1 Message Date
ptarjan 9c1e1bbc05 fix many parallel test issues
While running these on HHVM I've run into a lot of parallelism issues.
I'm backporting all the fixes I had to do in
https://github.com/facebook/hiphop-php/blob/master/hphp/tools/import_zend_test.py#L650
to php core.

Most of these changes were just filenames that were shared between
tests, but I did more surgery on the fixed ports. I can apreciate port
31337 as much as the next nerd, but random ports are better for tests.
2013-11-06 10:31:47 +01:00
Michael Wallner ac28283beb fix bug #65391
Unable to send vary header user-agent when
ob_start('ob_gzhandler') is called
2013-08-09 11:14:04 +02:00
Stanislav Malyshev 6b896fa57f Merge branch 'pull-request/320'
* pull-request/320:
  this is test 5 not 6
  fix race condition
  more shared names that create race conditions
  change to a unique filename
  more shared filenames
  yet another shared filename
  don't share a filename to stop race conditions
  fix race condition for 2-4 and normalize names for others
  fix race condition when running tests in parallel
  clean up after test
  Fix #64572: Clean up after the test
  Fix #64572: Clean up after the test
2013-06-17 01:06:01 -07:00
Veres Lajos 04145dc2aa typo fixes (argument) 2013-06-10 13:36:17 -07:00
Reeze Xia 57bebfcbdc fixed test for bug #52944 also for darwin 2012-09-09 23:02:50 +02:00
Anatoliy Belsky ff0aa24054 forked two tests for windows
* bug55544.phpt - VT vs. EXT at the start of the data block,
but the data can still be decoded correctly
* bug_52944.phpt works with the corrupted data and has some
different out

Most likely the ASM optimization under windows is responsible
for this behaviour.
2012-09-03 13:37:34 +02:00
Xinchen Hui 4c1e2bbd6f Re-fix bug #55544 2012-07-24 14:43:53 +08:00
Anatoliy Belsky d9d21b2037 Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Fixed bug #61677 ext\zlib\tests\bug_52944.phpt fails
2012-07-13 11:46:14 +02:00
Anatoliy Belsky 02b8362ec2 Fixed bug #61677 ext\zlib\tests\bug_52944.phpt fails
The test is known to fail on windows with zlib version < 1.2.7 (current dep is 1.2.5),
with 1.2.7 it works. As it's primarily a zlib 1.2.5 issue on windows, skip it for now.
2012-07-13 11:39:57 +02:00
Anatoliy Belsky 0a65b661e4 Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  split gzgetc_basic.phpt for zlib 1.2.7
2012-06-19 14:12:54 +02:00
Anatoliy Belsky a8948d0808 split gzgetc_basic.phpt for zlib 1.2.7 2012-06-19 14:08:34 +02:00
Michael Wallner 7c93a16477 fix bug #61443
Since upgrade to PHP 5.4, we can't change zlib.output_compression on the
fly

the check for PHP_OUTPUT_WRITTEN was over-zealous
2012-04-24 20:35:49 +02:00
Michael Wallner df00b64cb9 fixed bug #61820
using ob_gzhandler will complain about headers already sent
when no compression

the Vary header should only be sent on the PHP_OUTPUT_HANDLER_START
event
2012-04-24 19:50:00 +02:00
Anatoliy Belsky d588d01b7c Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Fix bug 61680 ext\zlib\tests\gzencode_variation1-win32.phpt fails
2012-04-16 14:05:32 +02:00
Anatoliy Belsky 163c1a393f Fix bug 61680 ext\zlib\tests\gzencode_variation1-win32.phpt fails 2012-04-16 14:04:29 +02:00
Anatoliy Belsky b7596eaa1b Merge branch '5.3' into 5.4
* 5.3:
  Fix bug #61519	test fails, should pass - ext/zlib/tests/bug60761.phpt

Conflicts:
	ext/zlib/tests/bug60761.phpt
2012-03-27 18:16:02 +02:00
Anatoliy Belsky bcfcfb2fc5 Fix bug #61519 test fails, should pass - ext/zlib/tests/bug60761.phpt 2012-03-27 18:02:31 +02:00
Michael Wallner 39d2996c57 MFH: Fixed bug #61287 (A particular string fails to decompress) 2012-03-05 15:38:24 +00:00
Nikita Popov 3748034f86 Merge: Fix bug #61139: gzopen leaks when specifying invalid mode 2012-03-02 14:16:47 +00:00
Nikita Popov f9e8477b04 Fix bug #61139 gzopen leaks when specifying invalid mode
Needs to be merged to 5.4.
2012-02-19 14:39:29 +00:00
Rasmus Lerdorf 0116466974 Please test your tests 2012-01-23 06:39:01 +00:00
Pierre Joye ed075eab5a - add test for bug #60761 2012-01-18 20:29:13 +00:00
Pierre Joye 9e4669b3a6 - add test for bug #60761 2012-01-18 20:29:13 +00:00
Pierre Joye f6ea9cecfa - add test for bug #60761 2012-01-18 20:21:40 +00:00
Pierre Joye 5b72785c68 - add test for bug #60761 2012-01-18 20:21:40 +00:00
Michael Wallner e11ece1ca7 remove XFAIL for bug #47178 2012-01-18 10:16:37 +00:00
Stanislav Malyshev 0fdbefa430 add test for ob_gzhandler 2012-01-01 23:51:21 +00:00
Xinchen Hui 71c9674e1c Fix test (gzdecode not valid in 5.3 branch, maybe need add ? ) 2011-09-13 13:18:57 +00:00
Pierre Joye 8e7f4358ca - force LF and fix... and blame me for not reading the code correctly, zlib tests pass now, linux/bsd/win 100% 2011-09-08 10:20:38 +00:00
Pierre Joye a1ea21eaac - force LF 2011-09-08 10:14:38 +00:00
Pierre Joye 1e30a4ecb0 - use only zlib function and reported the failure with base64 in #55620 2011-09-06 12:30:17 +00:00
Pierre Joye 48586679c6 - use only zlib function and reported the failure with base64 in #55620 2011-09-06 12:30:17 +00:00
Stanislav Malyshev cd8202694c fix tests 2011-08-31 04:24:48 +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
Felipe Pena f277d8a22f - Fixed tests 2011-06-12 00:31:13 +00:00
Gustavo André dos Santos Lopes 0db999a94f - Fixed bug #52944 (Invalid write on second and subsequent reads with an inflate filter fed invalid data). 2010-09-29 18:58:58 +00:00
Gustavo André dos Santos Lopes 1c8e3c1b3e - Fixed bug #52944 (Invalid write on second and subsequent reads with an inflate filter fed invalid data). 2010-09-29 18:58:58 +00:00
Michael Wallner 11d24c1593 * implement new output API, fixing some bugs and implementing some feature
requests--let's see what I can dig out of the bugtracker for NEWS--
  and while crossing the road:
   * implemented new zlib API
   * fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?)

Thanks to Jani and Felipe for pioneering.
2010-05-31 10:29:43 +00:00
Jani Taskinen af49e58f51 - Reverted r296062 and r296065 2010-03-12 10:28:59 +00:00
Jani Taskinen 06f072cb5e MFH: Improved / fixed output buffering (Michael Wallner) 2010-03-11 10:24:29 +00:00
Adam Harvey f60946eb54 Fixed bug #51269 (zlib.output_compression Overwrites Vary Header). 2010-03-11 06:20:22 +00:00
Ilia Alshanetsky 463506b269 Fixed test 2010-01-19 12:42:50 +00:00
Jani Taskinen 64fb1fca1f - Add one test from HEAD 2009-12-09 13:25:10 +00:00
Jani Taskinen 6bb0603c4f - Fixed zlib.deflate compress filter to actually accpet level parameter. 2009-08-31 21:18:55 +00:00
Arnaud Le Blanc 6a9aa30d85 MFB52: Fix "request_startup() for zlib module failed" when client does not
accepts compression and zlib.output_compression is On
# (not in HEAD)
2009-05-28 10:15:14 +00:00
Rasmus Lerdorf e00d6f1876 Removing test 2009-05-25 11:58:27 +00:00
Arnaud Le Blanc 555208c581 MFH: Fix test 2009-04-19 22:01:46 +00:00
andy wharmby 9bfdbb3e2c New gzuncompress() test.Tested on WIndows, Linux and Linux 64 bit 2009-01-23 23:31:50 +00:00
Dave Kelsey 163fedcd61 final collection of zlib tests. tested on linux, windows and linux 64 bit 2009-01-22 14:14:50 +00:00
Dave Kelsey 7d8c189a6d new tests for zlib extension, tested on windows, linux and linux64 2009-01-21 15:24:13 +00:00