Antony Dovgal
bbf8afc3a4
make sure the cache is flushed when doing stat calls
2007-07-19 12:16:24 +00:00
Jani Taskinen
717f391d32
- Fixed bug #41433 (DBA: configure fails to include correct db.h for db4)
2007-07-19 10:48:34 +00:00
Christopher Jones
ab25af8aeb
Add casts to fix compilation warnings
2007-07-18 15:09:37 +00:00
Antony Dovgal
8464268a3f
fix test
2007-07-18 13:54:30 +00:00
Nuno Lopes
8171d5cc68
attempt to fix pdo_pgsql tests in HEAD
2007-07-18 12:28:08 +00:00
Raghubansh Kumar
dc721705af
New testcases for filesystem handling function : unlink()
2007-07-18 04:57:25 +00:00
Jani Taskinen
e70f6d70f1
- Fixed bug #42019 (configure option --with-adabas=DIR does not work)
2007-07-17 12:11:41 +00:00
Nuno Lopes
859841cf8c
MFB: update
2007-07-17 10:30:50 +00:00
Jani Taskinen
54519ad478
MFB: %f -> %F
2007-07-17 09:09:03 +00:00
Jani Taskinen
3229215255
- Fixed bug #42015 (ldap_rename() gets server error "DSA is unwilling to perform")
2007-07-17 08:38:19 +00:00
Antony Dovgal
e8dcb7a3b6
MFB: initialize glob struct
2007-07-16 20:29:37 +00:00
Antony Dovgal
78c7fde94a
fix typo
2007-07-16 19:36:28 +00:00
Antony Dovgal
a26699d806
more build fixes
2007-07-16 19:16:00 +00:00
Antony Dovgal
f3c571484e
fix win32 build
2007-07-16 19:12:47 +00:00
Antony Dovgal
d7ab2da30b
there is no such file
2007-07-16 19:07:22 +00:00
Raghubansh Kumar
eadb9f96c1
fix tests
2007-07-16 18:02:11 +00:00
Raghubansh Kumar
b4c1b36999
New testcases
2007-07-16 17:36:33 +00:00
Jani Taskinen
7bb7cae6a9
- Fix win32 build (I guess..:)
2007-07-16 13:51:41 +00:00
Antony Dovgal
a63e107188
add missing skipifs
2007-07-16 13:46:38 +00:00
Jani Taskinen
7c44729e41
- Cleanup and simplify
2007-07-16 13:41:12 +00:00
Antony Dovgal
514dfc34ca
remove ext/informix leftovers
2007-07-16 13:37:50 +00:00
Antony Dovgal
e3472f198a
add skipif
2007-07-16 13:35:31 +00:00
Antony Dovgal
c875f6493c
fix test
2007-07-16 13:31:34 +00:00
Antony Dovgal
8300bed9f9
add missing skipif sections
2007-07-16 13:29:41 +00:00
Jani Taskinen
d7e208a6c6
- Use explode instead of split (ereg goes bye bye..)
2007-07-16 12:35:33 +00:00
Antony Dovgal
febe567acb
split test
2007-07-16 10:59:07 +00:00
Antony Dovgal
b28ea6b885
fix test
2007-07-16 10:39:34 +00:00
Jani Taskinen
a1fd81368e
- Skip these tests always if unicode.semantics=on
2007-07-15 20:03:16 +00:00
Jani Taskinen
41c6375840
- Moved the old regex functions to it's own extension: ereg
2007-07-15 19:50:07 +00:00
Jani Taskinen
15ad001163
- Initial commit (files will be moved from elsewhere in CVS!)
2007-07-15 15:40:11 +00:00
Antony Dovgal
b608bd654d
fix ws, cs & folding
2007-07-14 08:38:20 +00:00
Derick Rethans
56828aba9a
- Let's always use the macro as llabs() requires c99.
2007-07-13 17:49:18 +00:00
Antony Dovgal
44d1ccca25
fix test
2007-07-13 17:15:12 +00:00
Antony Dovgal
6e5c6bbd26
add key values to the output
2007-07-13 17:07:33 +00:00
Antony Dovgal
d8354fe6ff
add 64bit version
2007-07-13 16:42:42 +00:00
Antony Dovgal
38283545ee
split one more huge test into several smaller ones
2007-07-13 16:39:55 +00:00
Antony Dovgal
2c0bd79e91
fix test, add 64bit version
2007-07-13 16:07:42 +00:00
Antony Dovgal
c601b252a0
fix %u in Unicode mode
2007-07-13 15:52:38 +00:00
Dmitry Stogov
e76b7240a1
Unicode support
2007-07-13 15:22:34 +00:00
Zoe Slattery
052e62c4cf
Assert test cases
2007-07-13 15:17:28 +00:00
Jani Taskinen
acc430e51d
- fix wrong logic
2007-07-13 15:08:55 +00:00
Zoe Slattery
84686c5b8f
Assert test
2007-07-13 14:57:32 +00:00
Jani Taskinen
c6fabb2b17
- Fixed some issues with enabling builtin stuff when anything else is
...
enabled
- Changed all AC_ARG_* options to PHP_ARG_* options
- Cleanups.
2007-07-13 14:23:41 +00:00
Dmitry Stogov
36add00ccd
Fixed bug #41635 (SoapServer and zlib.output_compression with FastCGI result in major slowdown
2007-07-13 14:01:11 +00:00
Rob Richards
982967b637
use macro - llabs not always available on win32
2007-07-13 12:48:47 +00:00
Antony Dovgal
879cd8b7be
don't allow $PHP_OCI8 to be empty when OCI8 is enabled
2007-07-13 09:23:46 +00:00
Dmitry Stogov
dde974da3a
Fixed memleak
2007-07-13 09:15:03 +00:00
Antony Dovgal
71148ce268
fix test
2007-07-13 09:13:58 +00:00
Antony Dovgal
1d0a4b2fe7
simplify the patch and prevent NULL retval_ptr_ptr's
2007-07-13 08:50:53 +00:00
Jani Taskinen
2bd642c353
- Make sure people call ldap_first_attribute() before ldap_next_attribute()
2007-07-13 02:00:26 +00:00
Jani Taskinen
35d2e03ec9
- Removed non-existing function entry
2007-07-13 01:22:43 +00:00
Jani Taskinen
ef7373f458
- Fixed bug #41127 (Memory leak in ldap_{first|next}_attribute functions)
...
[DOC] The last parameter "ber" is removed by this fix! (It's not needed)
2007-07-13 01:15:47 +00:00
Jani Taskinen
55e9266034
- Fixed bug #39291 (ldap_sasl_bind() is mising sasl_authc_id paratemeter)
...
# It's the equivalent for the ldapsearch -U parameter
# @doc, @DOC or whatever the tag was..
2007-07-12 22:05:09 +00:00
Zoe Slattery
2a8e9f9b50
reflectionObject tests
2007-07-12 21:08:02 +00:00
Ulf Wendel
a4cd950dc8
The last bunch of changes to the old 0*.phpt tests. Once final time a
...
verbose explanation of changes:
- take connection parameter from connect.inc
- use proper UEXPECTF
- have 'print "done!"' or similar at the end to detect crashes
- whitespace changes where needed
- take care of portability: PHP 5 vs. PHP 5, MySQL 4.1 - 6.0
- understand return value checking as sometime that makes you type
more when you write but makes you happy when you debug
2007-07-12 21:02:21 +00:00
Ulf Wendel
b6cc61737f
Will this never end?
...
- connection parameter tweaking
- a bit of whitespace here and there
- use UEXPECTF if need be
2007-07-12 20:57:30 +00:00
Ulf Wendel
2a191bb06d
As usual:
...
- connection parameter tweaking
- a bit of whitespace here and there
- use UEXPECTF if need be
2007-07-12 20:55:12 +00:00
Ulf Wendel
b0251ed6cc
Connection parameter should be taken from connect.inc and used all in
...
mysqli_connect() and friends. Use UEXPECTF instead of crippled EXPECTF.
2007-07-12 20:53:05 +00:00
Ulf Wendel
1cef1c528d
I forgot to mention: some will fail. In particular in unicode mode.
...
Next 10 in row to be tweaked:
- take connection parameter from connect.inc
- use proper UEXPECTF
- have 'print "done!"' or similar at the end to detect crashes
- whitespace changes where needed
- take care of portability: PHP 5 vs. PHP 5, MySQL 4.1 - 6.0
- understand return value checking as sometime that makes you type
more when you write but makes you happy when you debug
2007-07-12 20:49:29 +00:00
Ulf Wendel
202ba6c5fe
Next 10 in row to be tweaked:
...
- take connection parameter from connect.inc
- use proper UEXPECTF
- have 'print "done!"' or similar at the end to detect crashes
- whitespace changes where needed
- take care of portability: PHP 5 vs. PHP 5, MySQL 4.1 - 6.0
- understand return value checking as sometime that makes you type
more when you write but makes you happy when you debug
2007-07-12 20:42:48 +00:00
Ulf Wendel
472e0c78d1
The usual tweaking:
...
- take connection parameter from connect.inc
- use proper UEXPECTF
- have 'print "done!"' or similar at the end to detect crashes
- whitespace changes where needed
- take care of portability: PHP 5 vs. PHP 5, MySQL 4.1 - 6.0
2007-07-12 20:38:26 +00:00
Ulf Wendel
5ccab692dd
Pretty much the same cosmetics and tweaking as before (proper UEXPECTF,
...
"done!" at the end to detect crashes, connection parameter tweaking, ...) -
plus: check return codes even if failures are unlikely.
2007-07-12 20:34:50 +00:00
Ulf Wendel
1d0b5d303b
More typical changes:
...
1) Try to have portable SQL, don't create your own schema unless the test
wants to test exactly this
2) Don't rely on default SQL sort orders
3) Use proper UEXPECTF. There have been a lot of tiny unicode issues when
ext/mysqli has returned a binary string in unicode mode although a
unicode string could be expected and vice versa
2007-07-12 20:31:18 +00:00
Ulf Wendel
984756c898
All the upcoming changes in the 0*.phpt files are pretty much the same. I'll
...
describe them only once in with a bit of detail.
1) Correct Whitespace (space vs. tab) if need be
2) Recall: you get the connection parameter from connect.inc, no DB name, no
port no other connection parameter in any of the tests!
3) At the end of each test you find a "print 'done!'" or similar. This is
most helpful to detect crashing/segfaulting tests with all run-tests.php
versions.
2007-07-12 20:28:25 +00:00
Ulf Wendel
ed4021d857
Adding tests for mysqli_affected_rows() and mysqli_autocommit()
2007-07-12 20:20:57 +00:00
Ulf Wendel
b5595d57c5
Some of the upcoming new tests will use this little helper to create a
...
very simple MySQL table with some data in it to play with.
2007-07-12 20:10:23 +00:00
Ulf Wendel
e48a29bb4d
Some tests intentionally fail connecting to the DB. Not being able to
...
connect is no reason to skip the test. Also, no test should have hard-wired
connection parameter in it. Connection parameters come from connect.inc
(see environment variables in connect.inc).
2007-07-12 20:07:05 +00:00
Ulf Wendel
6fff9f4534
Starting to merge the latest set of ext/mysqli tests from the mysqlnd
...
SVN repro into HEAD. Again, it might happen that I crash the set of tests
and don't mention one or the other change while merging. Blame me...
1) Note the new environment variables to control the test run
2) Variables $IS_MYSQLND and $MYSQLND_VERSION are for writing portable tests
3) sys_get_temp_dir function is for PHP5/PHP6 portability
2007-07-12 20:04:17 +00:00
Derick Rethans
b49f733c6a
- Commit generated file.
2007-07-12 18:59:35 +00:00
Derick Rethans
d43b79f12b
- Missing file in commit.
2007-07-12 18:58:48 +00:00
Derick Rethans
1e096be0b3
- Fixed bug #41964 (strtotime returns a timestamp for non-time string of
...
pattern '(A|a) .+').
- Fixed bug #41844 (Format returns incorrect number of digits for negative
years -0001 to -0999).
- Fixed bug #41842 (Cannot create years < 0100 & negative years with
date_create or new DateTime).
- Fixed bug #41709 (strtotime() does not handle 00.00.0000).
- Fixed bug #41523 (strtotime('0000-00-00 00:00:00') is parsed as 1999-11-30).
2007-07-12 18:56:42 +00:00
Jani Taskinen
261c38876a
fix test
2007-07-12 17:43:34 +00:00
Jani Taskinen
174c1c5329
- Removed unnecessary stuff
2007-07-12 16:08:26 +00:00
Ulf Wendel
33c87b15d8
1) Whitespace/CS
...
2) Playing with column aliases
2007-07-12 16:04:15 +00:00
Ulf Wendel
d649c2e820
Testing SELECT "a" AS "". This is nice to test strcmp() and similar...
2007-07-12 16:03:10 +00:00
Seiji Masugata
498c2e08f1
Synced mail function in mb_send_mail function(Escape mail.force_extra_parameters value).
2007-07-12 15:28:37 +00:00
Antony Dovgal
dc9d1c16a0
fix MINFO handler
2007-07-12 15:07:32 +00:00
Ulf Wendel
e8ed078f81
Blame me for not checking in a version that's been cleaned up with
...
regards to Whitespace/CS...
2007-07-12 14:24:53 +00:00
Ulf Wendel
2135a5b3f6
Whoever has hacked this function into ext/mysql, here's a "test" for it.
2007-07-12 14:23:56 +00:00
Ulf Wendel
9744d3f9a3
Checking the phpinfo() entries of ext/mysql
2007-07-12 14:22:47 +00:00
Ulf Wendel
d452938ee8
Adding test for mysql_list_tables()
2007-07-12 14:22:15 +00:00
Ulf Wendel
625c02c844
Checks if ext/mysql exposes all constants it should expose.
2007-07-12 14:01:12 +00:00
Ulf Wendel
2d1c3ec2c9
No skipping needed anymore, function is there even with mysqlnd.
2007-07-12 13:58:41 +00:00
Ulf Wendel
e6e029e399
A bit more verbose message in case of problems. It's been helpful to
...
debug a cross-server version issue.
2007-07-12 13:57:36 +00:00
Ulf Wendel
94e0e4c322
1) Whitespace/CS
...
2) Fixing [U]EXPECTF to be portable among different MySQL Server versions
2007-07-12 13:50:51 +00:00
Ulf Wendel
894e5c6a5b
1) Whitespace/CS
...
2) Added test for default link
2007-07-12 13:44:00 +00:00
Ulf Wendel
a6a5638dd3
1) Whitespace/CS
...
2) Added: skip test with mysqlnd, mysqlnd does not support this function
currently
2007-07-12 13:35:16 +00:00
Ulf Wendel
fd45bad4c8
1) Whitespace/CS
...
2) Added check for default connection
2007-07-12 13:31:27 +00:00
Ulf Wendel
3809493bd7
1) Whitespace/CS
...
2) Fixing [U]EXPECTF to accept whatever db/schema name gets used for the
test run
2007-07-12 13:27:26 +00:00
Jani Taskinen
c4e82d3cb9
MFB: fix warning
2007-07-12 12:12:30 +00:00
Jani Taskinen
08c67fa3c4
- Added test for bug #41815
2007-07-12 11:07:29 +00:00
Ulf Wendel
0ccc7d618f
1) Whitespace/CS
...
2) Tiny check for default link added
2007-07-12 10:52:23 +00:00
Ulf Wendel
063987fed5
1) Whitespace/CS
...
2) Portability: don't expect any values and have them in the [U]EXPECTF,
if they will be available only with certain MySQL Server versions.
2007-07-12 10:47:00 +00:00
Ulf Wendel
da36f2be2a
1) Whitespace/CS
...
2) One line added to test default connection
2007-07-12 10:30:03 +00:00
Ulf Wendel
78628dad2a
1) Whitespace/CS
...
2) Test mysql.default_socket only if we're using a socket to connect
2007-07-12 10:25:40 +00:00
Ulf Wendel
e58bb46329
Whitespace/CS only
2007-07-12 10:18:14 +00:00
Antony Dovgal
e13c58d14e
fix ws, cs and folding
2007-07-12 10:04:42 +00:00
Antony Dovgal
a819499088
fix WS, CS and other S
2007-07-12 09:55:41 +00:00
Antony Dovgal
469e93ef35
fix test
2007-07-12 09:26:28 +00:00
Antony Dovgal
86c819cede
fix #41970 (call_user_func_*() leaks on failure)
2007-07-12 09:19:04 +00:00
Jani Taskinen
4c3970500d
- Changed all AC_ARG_* options to PHP_ARG_* options.
2007-07-11 23:10:46 +00:00
Antony Dovgal
5a4d3c651b
check PHP version only when enabled
...
and replace tabs with spaces
2007-07-11 22:15:44 +00:00
Antony Dovgal
0a0b078746
implement (or fix?) #41884 (ReflectionClass::getDefaultProperties() does not handle static attributes)
2007-07-11 22:03:59 +00:00
Jani Taskinen
b394a74797
- Removed unused empty macro and nuked illegal use of $withval
2007-07-11 21:51:10 +00:00
Zoe Slattery
fb148e4953
More reflectionClass tests
2007-07-11 20:16:43 +00:00
Johannes Schlüter
c91907a515
- Always enable mail() function
2007-07-11 17:39:04 +00:00
Dmitry Stogov
d3a6deb076
Unicode support
2007-07-11 16:47:30 +00:00
Dmitry Stogov
bf16e86999
Unicode support
2007-07-11 15:52:44 +00:00
Ulf Wendel
dcf91469db
Whitespace/CS only
2007-07-11 15:51:48 +00:00
Ulf Wendel
cf0231da96
Whitespace/Coding Standards and check added for default connection.
2007-07-11 15:49:32 +00:00
Ulf Wendel
c1ab1512fd
Whitespace only
2007-07-11 15:47:38 +00:00
Johannes Schlüter
c853428779
Fix test for unicode mode
2007-07-11 15:46:20 +00:00
Ulf Wendel
7ff686d786
Whitespace and more testing.
2007-07-11 15:26:07 +00:00
Ulf Wendel
90ad13cca1
Whitespace and new checks for default connection.
2007-07-11 15:17:47 +00:00
Ulf Wendel
d552edf5e8
Whitespace only
2007-07-11 15:13:10 +00:00
Ulf Wendel
3f0339a42c
Mainly Whitespace/CS changes. Partly "too many arguments" check added.
2007-07-11 15:07:28 +00:00
Ulf Wendel
21e47c9a03
Whitespace and new "too many arguments" check.
2007-07-11 14:45:53 +00:00
Ulf Wendel
8777568cc2
Whitespace/Coding Standards and new check what happens if one tries to
...
free not a mysql resource but a file resource.
2007-07-11 14:44:18 +00:00
Ulf Wendel
2af97387bb
Whitespace/Coding Standard
2007-07-11 14:41:54 +00:00
Ulf Wendel
dabb012f91
Removing reference to skipifemb.inc which is not needed and
...
Whitespace/Coding Standards.
2007-07-11 14:36:26 +00:00
Ulf Wendel
3822833c37
Whitespace and the usual suspect: skipifemb.inc
2007-07-11 14:28:22 +00:00
Ulf Wendel
4ec515c660
Whitespace/Coding Standards, removal of skipifemb.inc, improved testing
...
and checking for expected field types.
2007-07-11 14:11:18 +00:00
Ulf Wendel
857954815f
Whitespace and - as usual - removing skipifemb.inc
2007-07-11 14:01:39 +00:00
Ulf Wendel
cbe689d16c
Whitespace/Coding Standards, removing reference to skipifemb.inc,
...
tweaking EXPECTF.
2007-07-11 13:56:37 +00:00
Ulf Wendel
6c353e1046
Whitespace. Removing reference to skipifemb.inc.
2007-07-11 13:51:31 +00:00
Ulf Wendel
30df81aa62
Aside from whitespace / coding standards this one is more interesting.
...
We added a flag to check if a MySQL column type is a binary type. If so,
ext/mysql should return data for such columns not as unicode strings but
as binary strings if unicode.semantics is on.
2007-07-11 13:36:11 +00:00
Ulf Wendel
b0ac1f0171
Whitespace / Coding Standards
2007-07-11 13:29:41 +00:00
Antony Dovgal
e58c638bc8
fix typo and bug #41962
2007-07-11 13:26:47 +00:00
Ulf Wendel
0880484234
1) Whitespace / Coding Standards
...
2) Don't even dare to have variables that sound like connection parameters and don't come from connect.inc
3) skipifem.inc is not there for ext/mysql tests
2007-07-11 13:22:17 +00:00
Ulf Wendel
8324e16636
Whitespace/Coding Standards.
...
The tests origin from ext/mysqli/tests. ext/mysqli/tests should have a
skipifemb.inc, which is not needed and not available for ext/mysql/tests.
Nevertheless the tests tried to include that file.
2007-07-11 12:57:57 +00:00
Dmitry Stogov
89aef801cf
Fixed tests
2007-07-11 12:57:55 +00:00
Ulf Wendel
7943e812fb
Whitespace/Coding Standards.
...
Test for default link added.
2007-07-11 12:50:34 +00:00
Ulf Wendel
b9f536333c
Those two should be whitespace / coding standards only. However, in some of
...
my commit messages I might be wrong, it's hard to say what we added to the
tests and I might miss this or that little detail, although I check the diff
before commit.
2007-07-11 12:47:23 +00:00
Ulf Wendel
9ac87ac9dd
Should be whitespace/coding standards changes only.
2007-07-11 12:28:46 +00:00
Ulf Wendel
1aa8031a0f
Mostly whitespace (replacing spaces with tab). Additional, weak test for
...
"host:port:socket" syntax, just to make sure we cover the underlying
C code.
2007-07-11 12:26:21 +00:00
Dmitry Stogov
35cdce9e02
Unicode support
...
improved openssl_x509_parse() extensions support
2007-07-11 12:10:28 +00:00
Ulf Wendel
4c1181a08a
Whitespace: replacing spaces with tab to follow coding conventions.
...
One tiny change in mysql_close.phpt: don't overrule connection parameter
in any of the tests. Alway take connection parameter, including the database
name ($db), from connect.inc.
2007-07-11 11:57:45 +00:00
Jani Taskinen
518d6ff11b
- Nuke extra AC_MSG_CHECKING
2007-07-11 11:55:46 +00:00
Ulf Wendel
5a888bc9bd
Trying to fix broken tests. The last set of files committed a few weeks ago
...
broke almost all tests. I'll try to merge the CVS with a working set of
tests from the mysqlnd development repository. With this first set of
changes most tests should run (and pass) again.
Note the additional environment variables in connect.inc that you can
use to control a test run.
More changes to come.
2007-07-11 11:12:10 +00:00
Jani Taskinen
82dc2c505f
- Cleanup, nuked some unnecessary macros.
2007-07-11 10:27:16 +00:00
Jani Taskinen
dbd8b2946f
- Changed AC_ARG_ENABLE to PHP_ARG_ENABLE
2007-07-11 08:47:31 +00:00
Dmitry Stogov
fb5fa1877f
unicode support
2007-07-11 08:27:33 +00:00
Dmitry Stogov
27737a9c45
Fixed memory leak
2007-07-11 07:35:53 +00:00
Dmitry Stogov
f54b1377a2
Fixed crash on non-string passphrase and unicode support
2007-07-11 07:27:20 +00:00
Stanislav Malyshev
2afcf33fef
Escape mail.force_extra_parameters value
2007-07-10 20:23:26 +00:00
Stanislav Malyshev
5d0a261394
always check save_path (issue reported by Maksymilian Arciemowicz)
2007-07-10 17:52:32 +00:00
Dmitry Stogov
5e4fde527b
Fixed fgets() and fgetss() with limits
2007-07-10 17:02:43 +00:00
Zoe Slattery
a8b455aa5b
Tests for reflectionClass
2007-07-10 16:21:26 +00:00
Dmitry Stogov
e51458cd76
Fixed test
2007-07-10 15:19:13 +00:00
Dmitry Stogov
ac60cdd0ba
MFB htmlentities() / htmlspecialchars() "don't double encode" flag support
2007-07-10 15:12:15 +00:00