Greg Beaver
38d5943ee6
increase code coverage of funcinterceptors to 90%+, fix many bugs, fix errant wrong test condition in fgc_edgecases
2008-05-11 19:17:51 +00:00
Greg Beaver
549bf83bd1
[DOC]
...
remove phar.extract_list
remove Phar::getExtractList()
2008-05-07 05:38:31 +00:00
Greg Beaver
c4f502fae0
COMPLETELY rework filename extension detection. Now the only requirements are:
...
1 - executable phars must contain '.phar' in the filename
2 - non-executable phars must not contain '.phar' and must have an extension of at least 1 character
In addition, phar filenames must exist if opened for read, and the directory containing the phar must exist if opened for creation
if opened for creation, the file must not already exist
[DOC]
2008-04-18 04:13:13 +00:00
Greg Beaver
df32c25175
forgot to commit this yesterday - make error message test PHP-version agnostic
2008-04-15 18:33:47 +00:00
Greg Beaver
9f86ad6142
fix test
2008-04-14 18:35:10 +00:00
Greg Beaver
24b6df944d
complete rename code coverage tests, completely re-do errors (why are the streams funcs so dang inconsistent in error handling/return values?)
2008-04-14 18:33:12 +00:00
Greg Beaver
0c9fcac767
remove redundant check for file existence, add another unlink edgecase test
2008-04-14 18:03:57 +00:00
Greg Beaver
bf701fe74f
disallow unlink() on extracted phars (the idea is that it is a read-only for execute thing), add tests for unlink edge cases
2008-04-14 17:54:38 +00:00
Greg Beaver
4cd9806d06
add stat test for root dir
2008-04-14 17:40:46 +00:00
Greg Beaver
754a3b9a76
add tests for extract_list and stat
2008-04-14 17:39:46 +00:00
Greg Beaver
3703d9195d
nuke potential segfault in phar_open_url, remove mem leaks due to error logging in phar_wrapper_stat, add to test case
2008-04-14 17:36:48 +00:00
Greg Beaver
0828c08abc
add test case for SEEK_CUR fseek
2008-04-14 17:24:39 +00:00
Greg Beaver
65e04335a6
add test case for inability to open extract_list file
2008-04-14 17:21:49 +00:00
Greg Beaver
e9de3a285d
2 more test coverage edge cases down
2008-04-14 17:19:55 +00:00
Greg Beaver
f3f9f52af9
minor re-factoring of phar_open_url to remove one nested brackets, put fopen edge cases in its own test, tweak test phar file names
2008-04-14 17:18:58 +00:00