Commit Graph

21174 Commits

Author SHA1 Message Date
Greg Beaver
46db4d3f65 add helper functions for gdb debugging phar reference counting (needs more work, but a good start) 2007-08-15 03:49:44 +00:00
Raghubansh Kumar
ae5dcdccf2 fix tests 2007-08-14 14:10:31 +00:00
Antony Dovgal
da2a302e78 fix lib/lib32 checks to work with broken Solaris shell 2007-08-14 12:14:53 +00:00
Rob Richards
4d17d8c681 fix bug #42259 (SimpleXMLIterator loses ancestry)
add test
2007-08-14 12:09:52 +00:00
Antony Dovgal
d43c8ad4eb make sure the temp file is closed before removing it 2007-08-13 12:46:34 +00:00
Raghubansh Kumar
1514977352 New testcase for clearstatcache() function 2007-08-13 11:50:47 +00:00
Raghubansh Kumar
c0ebb17904 New testcase for parse_ini_file() function 2007-08-13 11:37:11 +00:00
Jani Taskinen
bdd54e7c9b MFB: Fix tests + directory check inside copy() function 2007-08-13 08:14:03 +00:00
Raghubansh Kumar
721e2ab3a7 New testcases for fgetss() function 2007-08-12 06:55:52 +00:00
Raghubansh Kumar
c7d2d62a02 More new testcases for fopen() & fclose() functions 2007-08-12 05:14:13 +00:00
Rui Hirokawa
424d842729 MF PHP_5_2 2007-08-12 02:00:03 +00:00
Antony Dovgal
ceb482dfb1 more fixed tests 2007-08-11 22:42:19 +00:00
Antony Dovgal
44d8314d9c fix tests failing on 64bit 2007-08-11 22:18:33 +00:00
Nuno Lopes
fc86edab7d fix typo in tmp file path 2007-08-11 15:38:34 +00:00
Raghubansh Kumar
30a08a895b New testcases for fscanf() function 2007-08-10 17:56:45 +00:00
Raghubansh Kumar
fb3c7a7250 New testcases for htmlentities() & htmlspecialchars() 2007-08-10 15:08:45 +00:00
Jani Taskinen
a6c2fdb9a5 MFB: sync 2007-08-10 13:28:12 +00:00
Antony Dovgal
ee8851dfda split the test 2007-08-10 13:27:05 +00:00
Antony Dovgal
a254d5c574 empty/invalid names are not allowed (empty prefixes are) 2007-08-10 13:20:22 +00:00
Antony Dovgal
c13e337f27 allow empty prefix (restore 5_2 behavior) 2007-08-10 12:54:38 +00:00
Jani Taskinen
28cf1788a9 MFB: Fixed the fix for bug #42233 and added test for it. 2007-08-10 12:23:16 +00:00
Antony Dovgal
edb216d3dc fix tests 2007-08-10 12:10:19 +00:00
Dmitry Stogov
c9ecd0169a Fixed generation on DH publick key for given private key 2007-08-10 10:43:37 +00:00
Antony Dovgal
25af0b4382 MFB: Fixed bug #42117 (bzip2.compress loses data in internal buffer) 2007-08-10 09:00:42 +00:00
Antony Dovgal
edd76024a3 MFB: Fixed bug #42243 (copy() does not ouput an error when the first arg is a dir) 2007-08-10 08:58:12 +00:00
Antony Dovgal
a6c19f6ede MFB: Fixed bug #42261 (header wrong for date field) 2007-08-10 08:56:23 +00:00
Christopher Jones
c581da4b56 oci8: merge changes to build with Oracle Database 11g 2007-08-10 06:58:12 +00:00
Christopher Jones
eda449eeac pdo_oci: merge changes to build with Oracle Database 11g 2007-08-10 06:57:41 +00:00
Raghubansh Kumar
96fc4edc59 more new testcases for tempnam() function 2007-08-10 03:33:00 +00:00
Raghubansh Kumar
b71984f4bc New testcases for strtolower() and strtoupper() functions 2007-08-10 03:05:00 +00:00
Raghubansh Kumar
752ead40e2 More new testcases for copy() function 2007-08-10 02:58:50 +00:00
Johannes Schlüter
951ad867b6 - Write to the correct file... 2007-08-09 22:24:41 +00:00
Mattias Bengtsson
94bf93f531 -MFB: libgd #101, imagecreatefromgd can crash if gdImageCreate fails 2007-08-09 14:22:38 +00:00
Mattias Bengtsson
3b8fc04079 -MFB: libgd #94, imagecreatefromxbm can crash if gdImageCreate fails 2007-08-09 12:09:30 +00:00
Ulf Wendel
fb4967900d Same as for ext/mysqli tests: addition of a new environment variable
MYSQL_TEST_SKIP_CONNECT_FAILURE  which controls how to deal with connection
problems. If MYSQL_TEST_SKIP_CONNECT_FAILURE = false (default) connection
problems will make a test fail. If you set MYSQL_TEST_SKIP_CONNECT_FAILURE
to any value that evaluates to true in PHP, a test which cannot connect to
the database will be skipped.
2007-08-09 11:53:17 +00:00
Ulf Wendel
a166bd39ac I forgot those files when merging mysqlnd SVN and HEAD. Only required by
tests that test experimental features and are skipped by default that's why
I missed them.
2007-08-09 10:16:24 +00:00
Ulf Wendel
af91a4056a No need for an extra skip*.inc file, this check is done in just one place 2007-08-09 10:10:46 +00:00
Ulf Wendel
5846d6b84b More changes related to MYSQL_TEST_SKIP_CONNECT_FAILURE. 2007-08-09 10:01:20 +00:00
Ulf Wendel
112b742518 New tests (stubs?) for a few experimental (to be removed?) functions.
The tests will only be run if you set MYSQL_TEST_EXPERIMENTAL = 1.
2007-08-09 09:59:15 +00:00
Ulf Wendel
974935e6b8 Next set of files which now feature the new environment variable
MYSQL_TEST_SKIP_CONNECT_FAILURE which controls how connection problems
are handled: failure (MYSQL_TEST_SKIP_CONNECT_FAILURE = false, default)
or skip (MYSQL_TEST_SKIP_CONNECT_FAILURE = true)

Also, some minor tweaking of connection parameters in the tests.
2007-08-09 09:43:28 +00:00
Jani Taskinen
8b3c737889 - Fixed bug #42247 (ldap_parse_result() not defined under win32) 2007-08-09 08:42:31 +00:00
Ulf Wendel
1855a57471 Introducing new environment variable:
MYSQL_TEST_SKIP_CONNECT_FAILURE = false

Every test that needs a working MySQL connection now includes
skipifconnectfailure.inc. If MYSQL_TEST_SKIP_CONNECT_FAILURE evaluates
to true skipifconnectfailure.inc tries to establish a database
connection. If no connection can be opened, the test will be skipped.
In case of MYSQL_TEST_SKIP_CONNECT_FAILURE = false (default) an no
connection, a test who cannot establish a connection will fail.

So, if you have a buggy configuration or a server that is sometimes
not available, you can now decide if you want the tests to ignore this
and skip the test or to fail (MYSQL_TEST_CONNECT_FAILURE = false, default).

Other, minor tweaks:
  042.phpt - whitespace
  067.phpt - parse error in SKIPIF section fixed
2007-08-09 08:41:12 +00:00
Raghubansh Kumar
6cb89102e7 New testcases for tempnam() function 2007-08-09 03:35:22 +00:00
Johannes Schlüter
ab79c3dea9 - Fix build (patch by Ulf Wendel) 2007-08-08 14:52:40 +00:00
Raghubansh Kumar
8d87a8cf70 New testcases for fgetcsv() function 2007-08-08 13:15:01 +00:00
Raghubansh Kumar
34a7853c49 More testcases for fputcsv() function 2007-08-08 13:09:42 +00:00
Nuno Lopes
59f172e1e6 MFB: fix bug #41973 2007-08-08 11:38:32 +00:00
Jani Taskinen
f602af17b4 MFB: Fix bug #42233 2007-08-08 07:46:00 +00:00
Pierre Joye
6f7b46afbd - MFB: fix regressio introduced by #42222 2007-08-08 06:30:56 +00:00
Raghubansh Kumar
e2d9b55057 New testcases for fputcsv() function 2007-08-08 03:55:05 +00:00