Commit Graph

41630 Commits

Author SHA1 Message Date
Ant Phillips
b3e6072a04 Fix session test failures as reported by Antony Dovgal.
These were caused by the tests assuming default values for some session
configuration settings, in particular session.save_path and session.name.
The tests now explicitly set these settings in the --INI-- section.
2008-04-30 15:20:17 +00:00
Ant Phillips
08b3473a81 Break up complicated rename tests into some smaller more consumable chunks 2008-04-30 13:53:50 +00:00
Dmitry Stogov
96ab33de6e IS_CONST operands are always have is_ref==1 and refcount==2, so we can eliminate
unnecessary checks at specialization/compilation stage
2008-04-30 10:44:24 +00:00
Ant Phillips
3edf8bd266 Fix session test failures as reported by Antony Dovgal.
These were caused by the tests assuming default values for some session
configuration settings, in particular session.save_path and session.name.
The tests now explicitly set these settings in the --INI-- section.
2008-04-30 09:28:00 +00:00
Greg Beaver
483018e170 remove unneeded exception handling (webPhar is always within an outer zend_execute block which handles exceptions for us, this is unnecessary) 2008-04-30 02:20:48 +00:00
2b285b368d ChangeLog update 2008-04-30 01:32:01 +00:00
Antony Dovgal
bcd74c270b fix spelling 2008-04-29 13:50:22 +00:00
Dmitry Stogov
2396f40eb5 Fixed GC slowdown 2008-04-29 13:43:49 +00:00
Steph Fox
8a970147ad - Allow setStub() to continue working
- Fix tests broken by earlier commit
2008-04-29 12:26:58 +00:00
Steph Fox
8559a2dbde - Prevent phars with empty manifests flushing to disk
- This would've fixed that test... removing clean section

@Greg: I commented out the call that breaks the Windows build, pending a decision about its future.
2008-04-29 12:06:54 +00:00
Steph Fox
7d3e9ef952 - Fix paths in test 2008-04-29 11:37:33 +00:00
Steph Fox
7762c5d204 - Add test for bug #13786 2008-04-29 10:45:23 +00:00
Ant Phillips
6b00f44934 More session tests to improve code coverage for untested extension code 2008-04-29 09:24:18 +00:00
Dmitry Stogov
20abb52b1e Added missing lazy initialization 2008-04-29 09:18:54 +00:00
Ant Phillips
049e27a949 More session tests to improve code coverage for untested extension code 2008-04-29 08:57:10 +00:00
Dmitry Stogov
1d0f893b49 Lazy EG(active_symbol_table) initialization 2008-04-29 08:15:49 +00:00
Antony Dovgal
df56e70e73 lexer fix by Greg 2008-04-29 08:08:10 +00:00
Antony Dovgal
eef38c8ab3 cosmetic enhancements 2008-04-29 08:04:11 +00:00
Antony Dovgal
9c2f3fc42c fix test 2008-04-29 07:26:39 +00:00
a199ec41c6 ChangeLog update 2008-04-29 01:31:45 +00:00
Greg Beaver
984ea1f437 fix segfault (now all tests pass here) 2008-04-28 23:00:46 +00:00
Greg Beaver
a78fd15fae fix double free and broken stat.phpt 2008-04-28 22:57:21 +00:00
Greg Beaver
ee1273af7a remove hack introduced because of broken usage of php_resolve_path instead of zend_resolve_path 2008-04-28 22:41:20 +00:00
Greg Beaver
2b41209dfb MFB: fix erroneous use of php_resolve_path in _php_stream_wrapper_open_ex - this breaks require/include for all extensions that intercept zend_resolve_path 2008-04-28 22:40:10 +00:00
Greg Beaver
e8ac7c11d1 MFB: Fixed potentially confusing error message on failure when no errors are logged 2008-04-28 22:37:45 +00:00
Greg Beaver
18f221c61d it's a bit cheesy, but make this test 5.2/5.3 agnostic :) 2008-04-28 22:32:15 +00:00
Greg Beaver
7220c19556 fix tar generation - we were subtly corrupting the header with \0 because of use of strcpy 2008-04-28 16:44:53 +00:00
Scott MacVicar
455eeec4b9 MFH: Fix windows build 2008-04-28 13:26:50 +00:00
Scott MacVicar
d3b7ccd366 The SDK 6.1 adds some new networking functions that cause build errors, pick Windows 2000 as the minimum version we will build for. 2008-04-28 10:02:10 +00:00
Greg Beaver
ff90f59ea9 fix off-by-one for writing of timestamp and file modes in tar files 2008-04-28 06:49:56 +00:00
Greg Beaver
fbb2e8ce60 more fixes for PHAR_G(cwd) 2008-04-28 06:03:33 +00:00
Greg Beaver
62f824b6e1 fix crash (this area really needs code coverage) 2008-04-28 04:38:07 +00:00
0a17f4e00f ChangeLog update 2008-04-28 01:31:41 +00:00
Greg Beaver
5da6c48f7d add open_basedir/safe_mode checks for files in Phar::addFile() 2008-04-27 23:59:41 +00:00
Greg Beaver
e2660a692b fix test 2008-04-27 23:59:14 +00:00
Derick Rethans
089bc254eb - Fixed "this week", "previous week"/"last week" and "next week" phrases by
actually meaning the week.
#- For now the week starts on Monday, but I plan on making that configurable.
2008-04-27 19:12:10 +00:00
Steph Fox
bcd2ddd018 - Kill another one from the gcov site's parameter parsing report 2008-04-27 16:42:03 +00:00
Steph Fox
51459aade4 - Another test that gives completely different results if readonly=0 2008-04-27 12:22:36 +00:00
Steph Fox
473abd4e2b - Deleting files we cannot see... 2008-04-27 11:36:22 +00:00
Steph Fox
37a8782f0c - Fix a couple of failing tests/bad cleanup
@Greg: the phpinfo() ones assumed no php.ini - this isn't always the case, even if it should be
2008-04-27 11:31:27 +00:00
Steph Fox
2ea698eae7 - Make it possible to extract all *and* overwrite 2008-04-27 11:26:15 +00:00
Steph Fox
9e8c3ea9a7 - Always give reasons for skipped tests 2008-04-27 10:18:35 +00:00
Steph Fox
77dcb8cffd - Kill a few uninitialized vars (thanks gcov) 2008-04-27 10:14:00 +00:00
Greg Beaver
fd9bf92ac6 fix out-of-bounds read potential by replacing strstr with a custom strnstr 2008-04-27 07:20:02 +00:00
Greg Beaver
5bf3d1d362 fix invalid free 2008-04-27 07:04:56 +00:00
Greg Beaver
94846549f5 fix APC compile hook interception, now APC actually caches files 2008-04-26 23:16:49 +00:00
Greg Beaver
fade22bfd8 fix ridiculously critical omission in zip flush - we never set compressed file size! Augment zip test for bz2/zlib-compressed alias files to increase code coverage 2008-04-26 23:02:51 +00:00
Greg Beaver
11c93b8494 add checking for invalid alias on opening tar, and test 2008-04-26 22:31:44 +00:00
Greg Beaver
ad6e7fc667 add screening of alias to reading of zip archives, and test for bad aliases 2008-04-26 22:04:04 +00:00
Greg Beaver
5b85b2074b new test/updated test to ensure stub integrity (I was wrong, zip is fine) 2008-04-26 17:47:31 +00:00