Commit Graph

883 Commits

Author SHA1 Message Date
Zoe Slattery
affcaa4cb5 Tests are not valid if run by root - adding check to skip is user is root. 2007-06-14 16:15:50 +00:00
Raghubansh Kumar
d827201d8c New tests for file system handling functions 2007-06-13 22:46:37 +00:00
Raghubansh Kumar
f31ae00184 New tests for file handling system functions 2007-06-11 16:40:27 +00:00
Ilia Alshanetsky
60a7d31254 MFB: Added missing format validator to unpack() function 2007-06-06 22:04:47 +00:00
Stanislav Malyshev
f011c37849 fix test format 2007-06-06 17:47:15 +00:00
Stanislav Malyshev
56773a566a add some edge cases 2007-06-06 17:14:59 +00:00
Stanislav Malyshev
32d94ed6cd add moneyformat test 2007-06-06 17:13:18 +00:00
Zoe Slattery
a6ac3f8c20 New tests for file handling 2007-06-06 12:50:06 +00:00
Zoe Slattery
4f38742d2f fixed file permission for new empty file 2007-06-06 12:48:13 +00:00
Zoe Slattery
ce111057a4 Fixing incorrect comment in test cases fileinode_variation and filetype_variation 2007-06-05 11:32:45 +00:00
Zoe Slattery
484e14354e new test cases for general functions 2007-06-05 09:21:54 +00:00
Zoe Slattery
bdc7acb0d4 New test cases for file system functions 2007-06-05 09:20:17 +00:00
Zoe Slattery
c7590816d5 Updated test output in line with changes to file.inc 2007-06-05 07:57:48 +00:00
Zoe Slattery
bcb5c46495 Added fill_buffer() and fixed file_fill() to write binary data only 2007-06-05 07:54:58 +00:00
Antony Dovgal
b90fc7e0e4 clean up temp file 2007-06-04 17:18:28 +00:00
Zoe Slattery
3ee8de4afb missing ?> in skipif section 2007-06-04 17:00:44 +00:00
Brian Shire
5361f1838b MFB: fix sprintf/printf %u tests so they work correctly on both 32-bit and 64-bit. (broken in previous fix) 2007-06-04 01:23:22 +00:00
Ilia Alshanetsky
9cfd000ba3 MFB: Corrected fix for CVE-2007-2872 2007-06-03 18:53:51 +00:00
Antony Dovgal
cd7750e4ba fix #41518 (file_exists() warns of open_basedir restriction on non-existent file) 2007-06-01 13:33:48 +00:00
Ilia Alshanetsky
8cd0541be1 MFB: Fixed an interger overflow inside chunk_split(), identified by
Gerhard Wagner
2007-05-30 00:38:00 +00:00
Ilia Alshanetsky
16c9af1c7d MFB 2007-05-29 20:11:23 +00:00
Antony Dovgal
fb2ebbf23e fix tests, add 64bit versions 2007-05-29 12:42:19 +00:00
Antony Dovgal
28747bebc9 fix tests 2007-05-29 12:26:59 +00:00
Antony Dovgal
deba560f57 fix test 2007-05-29 12:17:37 +00:00
Antony Dovgal
857834365b fix tests in unicode mode 2007-05-29 12:10:20 +00:00
Antony Dovgal
f243356f5e fix tests 2007-05-29 10:25:21 +00:00
Zoe Slattery
863ee40af2 New tests for file/general_functions/strings 2007-05-25 13:50:06 +00:00
Antony Dovgal
6af0020d9c fix test 2007-05-22 16:57:18 +00:00
Antony Dovgal
60afeec652 fix tests 2007-05-22 16:56:47 +00:00
Raghubansh Kumar
b609c75148 New version of gettype_settype_basic.phpt, gettype_settype_variation3.phpt, gettype_settype_variation7.phpt, gettype_settype_error.phpt, gettype_settype_variation4.phpt, gettype_settype_variation8.phpt, gettype_settype_variation1.phpt, gettype_settype_variation5.phpt, gettype_settype_variation2.phpt, gettype_settype_variation6.phpt 2007-05-22 16:06:44 +00:00
Raghubansh Kumar
6d36305465 New version of basename_basic.phpt basename_error.phpt basename_variation.phpt 2007-05-22 16:03:57 +00:00
Antony Dovgal
f996452e8b improve variable name checks
add more tests
2007-05-22 14:32:40 +00:00
Zoe Slattery
36de378220 Updated range() test 2007-05-16 21:10:57 +00:00
Antony Dovgal
326ee7c499 fix test 2007-05-15 14:25:50 +00:00
Scott MacVicar
ecab534aa8 MFB: Fixed bug #41347 (checkdnsrr() segfaults on empty hostname). 2007-05-14 14:38:29 +00:00
Antony Dovgal
5955f884b9 fix tests, add UEXPECTF 2007-05-14 13:05:29 +00:00
Raghubansh Kumar
1e657336cf New version of debug_zval_dump_b.phpt, debug_zval_dump_v.phpt, is_float.phpt, is_numeric.phpt, is_string.phpt, var_dump.phpt, debug_zval_dump_e.phpt, is_array.phpt, is_int.phpt, is_object.phpt, print_r.phpt,
debug_zval_dump_o.phpt, is_bool.phpt, is_null.phpt, is_scalar.phpt, strval.phpt
2007-05-12 12:18:13 +00:00
Raghubansh Kumar
8be498b45e New version of addcslashes.phpt, implode1.phpt, strpos.phpt, str_replace.phpt, substr_count.phpt, trim1.phpt, chr_ord.phpt, md5_file.phpt, str_repeat.phpt, strstr.phpt, substr.phpt 2007-05-12 12:12:26 +00:00
Raghubansh Kumar
c7cec34d11 New version of 005.phpt, array_keys.phpt, array_values.phpt, extract.phpt, 009.phpt, array_map.phpt, each.phpt, array_change_key_case.phpt, array_pop.phpt, end.phpt, array_key_exists.phpt, array_search.phpt, extract.php 2007-05-12 11:20:52 +00:00
Antony Dovgal
483c3034bc fix segfault in strripos() when offset == INT_MAX+1
identified and repoted by Joxean Koret
2007-05-10 22:08:35 +00:00
Antony Dovgal
764b33ef79 flush output buffer when/if highlight_string()/php_strip_whitespace()/highlight_string() fail 2007-05-10 16:27:16 +00:00
Antony Dovgal
3d980a73cf cleanup temp test data 2007-05-10 12:22:49 +00:00
Antony Dovgal
806ebfb3f5 fix segfault in iptcembed() 2007-05-10 12:21:42 +00:00
Antony Dovgal
2d087e6deb fix tests 2007-05-07 22:33:39 +00:00
Antony Dovgal
57a1dc0757 fix test 2007-05-07 21:38:35 +00:00
Antony Dovgal
ccd97f3a21 fix test names 2007-05-07 17:23:53 +00:00
Antony Dovgal
8d9be0338b fix test names 2007-05-07 16:50:40 +00:00
Hannes Magnusson
be57963e00 Fix test
# pcre is required for the test suite so no need to check for it
# reflection can however be disabled
2007-05-06 13:11:11 +00:00
Dmitry Stogov
b890450e84 Fixed test 2007-05-02 07:27:52 +00:00
Antony Dovgal
419c5b3db1 fix tests
add test for yet not merged fix
2007-04-26 23:42:36 +00:00
Antony Dovgal
47d3276cd7 removed unused highlight.bg ini option 2007-04-26 09:39:03 +00:00
Antony Dovgal
b9e9832a85 fix tests 2007-04-22 19:47:08 +00:00
Johannes Schlüter
968608f8db - Fix test 2007-04-21 02:46:29 +00:00
Antony Dovgal
a09d5573f7 fix tests 2007-04-20 21:37:31 +00:00
Antony Dovgal
714e348b9f open the file in text mode and avoid downcoding 2007-04-20 21:17:37 +00:00
Antony Dovgal
65e565a08e fix tests 2007-04-20 21:13:45 +00:00
Dmitry Stogov
fbccef91d7 Fixed tests (win32) 2007-04-18 14:51:47 +00:00
Antony Dovgal
cea78baddf fix putenv("var") (i.e. unset) on BSD systems
add test
2007-04-17 20:33:45 +00:00
Zoe Slattery
33c9394112 Updated testcase ltrim() 2007-04-17 11:55:39 +00:00
Antony Dovgal
18b3919675 fix test 2007-04-16 08:14:27 +00:00
Brian Shire
be3064577d MFB: reverting incorrect changes to pack test
# only a problem on darwin, latest gcc-4.2 branch works as expected.
2007-04-13 02:15:12 +00:00
Zoe Slattery
904042bb83 new tests: array_merge, array_push, fprintf. modified tests: count_recursive, md5. 2007-04-11 11:44:37 +00:00
Antony Dovgal
5c2b931d6f skip this test on MacOS 2007-04-10 21:20:33 +00:00
Antony Dovgal
8667be3e5d fix #41037 (unregister_tick_function() inside the tick function crash PHP) 2007-04-10 09:36:10 +00:00
Antony Dovgal
c711d41f1f fix test 2007-04-06 19:35:06 +00:00
Brian Shire
c1104b0262 MFB: correction for previous fix to bug #38770 (pack/unpack is broken on 64bit)
fix pack test, correct space to tabs
2007-04-03 19:50:43 +00:00
foobar
7da784c5f7 MFB- 64bit test 2007-04-02 15:12:55 +00:00
foobar
573028aff2 MFB:- Make this 32bit only test. (will add 64bit version next) 2007-04-02 15:02:22 +00:00
Zoe Slattery
dfaf949f2f New tests for ltrim, rtrim, str_pad 2007-03-28 10:31:13 +00:00
Zoe Slattery
61ccbdee7e New ucfirst() test. 2007-03-28 09:54:31 +00:00
Zoe Slattery
f9596816cc new test for printf 2007-03-28 09:41:55 +00:00
Antony Dovgal
c9b1ff5080 fix #40915 (addcslashes unexpected behavior with binary input) 2007-03-26 10:23:50 +00:00
Stanislav Malyshev
638a8c9e07 MFB: fix MOPB-29 - unserialize modifier S does not calculate length correctly 2007-03-23 20:34:11 +00:00
Zoe Slattery
cc3795cd6f Fixing %i - > %d, previously changed in error 2007-03-16 23:18:01 +00:00
Stanislav Malyshev
023531f76c Fix UMR in array_user_key_compare() (MOPB24 by Stefan Esser) 2007-03-16 20:16:05 +00:00
Zoe Slattery
6503645079 Changed %d to %i in EXPECTF 2007-03-16 13:35:47 +00:00
Zoe Slattery
7f5832323c new test cases for string functions 2007-03-16 12:55:38 +00:00
Antony Dovgal
ebb2fc5b1b fix #40752 (parse_ini_file() segfaults when a scalar setting is redeclared as an array) 2007-03-08 00:43:06 +00:00
Zoe Slattery
16507b73cd New test case for array_slice 2007-03-07 13:22:26 +00:00
Antony Dovgal
702c31844b fix tests 2007-03-06 20:53:11 +00:00
Antony Dovgal
d5a9eab2e7 fix tests 2007-03-06 20:45:15 +00:00
Antony Dovgal
fdae6875ea fix segfault in import_request_variables() and its test
I'm not completely sure it's correct to import numeric vars like _POST["1"] etc.
2007-03-06 19:59:13 +00:00
Nuno Lopes
65f3544a3c MFB 2007-03-02 18:54:41 +00:00
Antony Dovgal
6a8829137e new test 2007-02-26 09:57:54 +00:00
Nuno Lopes
c0c9d8b164 MFB 2007-02-22 11:49:23 +00:00
Antony Dovgal
2edcbcbbd5 minor improvements 2007-02-21 22:08:00 +00:00
Antony Dovgal
c4b38c3af0 fix test on FreeBSD 2007-02-21 19:57:08 +00:00
Nuno Lopes
48f1b8cc77 MFB 2007-02-21 16:27:12 +00:00
Nuno Lopes
d5ec5c9807 fix a few tests in unicode mode 2007-02-14 19:29:33 +00:00
Nuno Lopes
9bb808dc35 MFB 2007-02-14 19:20:15 +00:00
Nuno Lopes
5615e79140 MFB 2007-02-13 19:56:42 +00:00
Antony Dovgal
c212923e29 new/improved tests 2007-02-13 13:01:18 +00:00
Antony Dovgal
d8179ac018 fix tests 2007-02-12 14:48:52 +00:00
Antony Dovgal
25992400a5 add separate IPv6 test 2007-02-12 14:42:25 +00:00
Antony Dovgal
c22ccc1492 new test 2007-02-11 20:56:17 +00:00
Antony Dovgal
834c79180c fix test 2007-02-11 20:06:05 +00:00
Marcus Boerger
9c0b73f9c4 - Simplify call_user_func/call_user_func_array implementation
- Allow call_user_func/call_user_func_array to return reference
2007-02-08 15:31:01 +00:00
Marcus Boerger
8e5f95d199 - Add new test 2007-02-08 08:44:28 +00:00
Antony Dovgal
32b3917098 add test 2007-02-07 21:12:48 +00:00
Dmitry Stogov
7d1110a3fb Fixed bug #39367 (clearstatcache() doesn't clear realpath cache)
Fixed bug #40092 (chroot() doesn't clear realpath cache)
2007-01-22 09:32:55 +00:00