Greg Beaver
379bcf1f14
remove unreachable code
2008-04-22 17:13:07 +00:00
Greg Beaver
cb8f158cd5
fix PATH_INFO munging, add to test case
2008-04-22 17:11:30 +00:00
Greg Beaver
5ac9c1f23e
remove unreachable code, add test for no file extension and unknown file extension with Phar::webPhar
2008-04-22 17:03:10 +00:00
Ant Phillips
168e58d2da
New set of session extension tests for PHP 6.0 branch.
...
These hopefully test a reasonable set of basic, error and variations for
the twenty or so session functions. Note however that they do not
test all the session configuration settings.
2008-04-22 16:05:42 +00:00
Robin Fernandes
81087c5653
Fix some ereg tests for 64bit platforms.
2008-04-22 15:31:54 +00:00
Antony Dovgal
d5266adb2e
fix tests
2008-04-22 13:31:17 +00:00
Scott MacVicar
c6e4f0494c
Fix compiler warnings with redefinition of _WIN32_WINNT
2008-04-22 12:18:42 +00:00
Greg Beaver
4e5fc75977
big ol code coverage test for bad parameters to Phar methods
2008-04-22 05:17:04 +00:00
391385c4ff
ChangeLog update
2008-04-22 01:31:37 +00:00
Greg Beaver
4388a65aa8
fix Phar::mount() to also allow running externally with full phar:// path, add test
2008-04-21 18:21:54 +00:00
Greg Beaver
e0873a380d
fix Phar::running()
2008-04-21 18:06:20 +00:00
Greg Beaver
25cdc7de2b
fix discovery of files hidden in a URL - makes using any regular front controller possible
2008-04-21 17:59:28 +00:00
Greg Beaver
2f56c7f343
new test for custom 404 handler, fix segfault found by test
2008-04-21 17:46:24 +00:00
Greg Beaver
cfc12b2afe
increase code coverage of phar.c significantly by ensuring signature algorithm test is actually run (duh)
2008-04-21 17:04:15 +00:00
Greg Beaver
7ee3597851
increase code coverage
2008-04-21 16:56:45 +00:00
Greg Beaver
5a4a54f64b
remove unused code
2008-04-21 16:51:26 +00:00
Greg Beaver
aaf6101928
another refactoring to combine an error and improve code coverage as a side effect
2008-04-21 16:50:18 +00:00
Greg Beaver
32f2eeea47
minor re-factoring reduces code lines for an error (and evilly increases code coverage at gcov ;)
2008-04-21 16:46:01 +00:00
Greg Beaver
69f74c5c80
minor re-factoring reduces code lines for an error (and evilly increases code coverage at gcov ;)
2008-04-21 16:42:53 +00:00
Greg Beaver
7d218cab35
cosmetics: same case as other tests
2008-04-21 16:42:24 +00:00
Greg Beaver
44358edd8d
new test for non-executable zip named as phar
2008-04-21 16:39:11 +00:00
Greg Beaver
779fec2278
implement opendir for mounted directories - much simpler to do than I initially thought
2008-04-21 16:29:09 +00:00
Antony Dovgal
f443488507
[DOC] add hash_copy() to be able to copy hash resource
2008-04-21 15:37:07 +00:00
Felipe Pena
5df12221cf
- Added UEXPECTF
2008-04-21 12:50:40 +00:00
Dmitry Stogov
903fa24eba
Optimized function call helper
2008-04-21 10:15:26 +00:00
Greg Beaver
afa1439304
finish code coverage for tar file format
2008-04-21 06:46:40 +00:00
Greg Beaver
c4315bfb2b
add test for huge filenames, fix huge filename reading
2008-04-21 06:33:49 +00:00
Greg Beaver
1f6292e91d
new test for corrupted tar with hard link to nowhere
2008-04-21 06:21:09 +00:00
Greg Beaver
3d858f4aa9
implement symbolic link support within a tar-based phar archive
...
this also resulted in a major fix for mounted directories, which were recycling the 'link' field which
could cause stupid conflicts with actual links, so move that to new 'tmp' field.
2008-04-21 06:17:51 +00:00
7fe0ed87fb
ChangeLog update
2008-04-21 01:31:33 +00:00
Greg Beaver
f70d527661
use a tar generated by the tar command to test links. Test still fails
2008-04-20 21:48:30 +00:00
Greg Beaver
ca6f70c8a3
add test for symbolic and hard links
2008-04-20 17:59:14 +00:00
Greg Beaver
027180d6ee
new test for bad checksum, fix tar.c to catch tar archives with a corrupted first entry, fix memleak on bad checksum
2008-04-20 17:28:54 +00:00
Greg Beaver
4abe1a0978
fix tests to match CVS
2008-04-20 17:19:24 +00:00
Greg Beaver
6d421e13b0
fix truncation test
2008-04-20 16:58:08 +00:00
Greg Beaver
f5dbaf64fc
add failing test for truncated tar archive
2008-04-20 15:12:09 +00:00
Greg Beaver
8001dfd8d0
new test, increases code coverage slightly
2008-04-20 14:54:05 +00:00
Greg Beaver
5e5dd15d52
fix test to be OS-agnostic
2008-04-20 05:50:40 +00:00
Greg Beaver
41d9dde1df
re-adding as binary
2008-04-20 05:49:06 +00:00
Greg Beaver
7cc7bdded7
added as text, removing in order to re-add
2008-04-20 05:48:52 +00:00
Greg Beaver
56650fa4cd
amend zip test to actually test file perms creation/reading and fix severely broken permissions creation
2008-04-20 05:41:41 +00:00
Greg Beaver
4336865bb4
add new test for openoffice-created zip
2008-04-20 05:22:02 +00:00
Greg Beaver
0cf701fe4e
new test for unix 'zip' command-created zip archives
2008-04-20 05:19:20 +00:00
Greg Beaver
50962003e0
fix fopen test problem - behavior is slightly different from PHP 5.2 -> PHP 5.3
...
now all tests pass on windows on my box
2008-04-20 04:35:14 +00:00
Greg Beaver
ab45c16a61
fix all but 1 test on windows (yay)
2008-04-20 04:19:13 +00:00
Greg Beaver
54540385b8
fix a couple more tests on windows
2008-04-20 04:10:51 +00:00
Felipe Pena
09e8c4db9a
- Fixed tests
2008-04-20 02:25:08 +00:00
Felipe Pena
6b49c2a151
- Better error message
2008-04-20 01:44:51 +00:00
8bb4402e07
ChangeLog update
2008-04-20 01:31:37 +00:00
Greg Beaver
95fc6451f0
fix 98 of 105 failing tests on windows (real progress now)
2008-04-20 00:24:01 +00:00