Commit Graph

61639 Commits

Author SHA1 Message Date
Ulf Wendel
797ac9ad3e No more test failure for libmysql, http://news.php.net/php.internals/55210 2011-09-05 16:24:40 +00:00
Andrey Hristov
5308ed60f3 Fix for Bug #55582 mysqli_num_rows() returns always 0 for unbuffered, when mysqlnd is used 2011-09-05 15:29:45 +00:00
Xinchen Hui
f249361559 Fixed tests (due to error message changed) 2011-09-05 15:05:51 +00:00
Xinchen Hui
6a4153db0c Fixed compiler warning "incompatible pointer type" 2011-09-05 15:02:21 +00:00
Shein Alexey
27ffd82f38 Reduced timeout in this test to 1ms, no need to wait further. 2011-09-05 14:43:08 +00:00
Pierre Joye
493808af3d - add skipif 2011-09-05 13:52:24 +00:00
Pierre Joye
6b424c19ce - add skipif 2011-09-05 13:41:01 +00:00
Pierre Joye
830fce0c7c - use the same test on win 2011-09-05 13:37:30 +00:00
Pierre Joye
2e853f026a - close the stream before removing the file (win and other system may lock it) and use test dir for tmp data 2011-09-05 13:31:13 +00:00
Pierre Joye
7b75be20a7 - sync&fix test with 5.3 2011-09-05 13:23:25 +00:00
Pierre Joye
e4337c0b27 - fix test, slash or back slash can be present 2011-09-05 13:13:37 +00:00
Pierre Joye
ea6b874ef0 - stupid me. 2011-09-05 13:06:51 +00:00
Pierre Joye
cd749225d5 - disable on win 2011-09-05 13:05:28 +00:00
Johannes Schlüter
2778bd3e11 Fix #ifdef for mixed builds (ext/mysql using myslqnd, mysqli using libmysql) 2011-09-05 13:05:15 +00:00
Pierre Joye
90237836f8 - disable on win 2011-09-05 13:04:12 +00:00
Pierre Joye
b2eed23e0c - other hostname can be defined or returned first 2011-09-05 12:34:55 +00:00
Hannes Magnusson
37dc06ea83 typo 2011-09-05 12:00:24 +00:00
Pierre Joye
75195b9c11 - force LF 2011-09-05 11:46:05 +00:00
Hannes Magnusson
3d6fcf06d1 Fix the test in 5.4 and trunk.
older libraries will emmit error here, while new won't. So lets just suppress it rather then making the test uselessly fail for random people.
2011-09-05 11:07:38 +00:00
Pierre Joye
0f8594f753 - not used anymore, one version to rule them all 2011-09-05 11:00:52 +00:00
Shein Alexey
5f5b7175ea Make the test faster, what was done:
1) replaced multiple htmlentities calls with one call to get_html_translation table since they share the same code internally
2) reduced the upper range of the "for" loop to 0x2710 (10000), according to http://www.w3.org/TR/html4/sgml/entities.html it's enough
3) placed additional check to make sure all entities from get_html_translation_table were checked in the test
2011-09-05 11:00:14 +00:00
Pierre Joye
6ff887636a - force LF and enable it on windows now 2011-09-05 10:59:26 +00:00
Hannes Magnusson
cb4cbc7c11 Fix test to use microtime() as time() doesn't always catchup fast enough :] 2011-09-05 10:55:07 +00:00
Pierre Joye
2281631b7f - force LF 2011-09-05 10:52:01 +00:00
Hannes Magnusson
a16f0fc218 Fix test, one skipif is enough 2011-09-05 10:30:41 +00:00
Pierre Joye
2c2419623e - update test to the zeng arg path argument 2011-09-05 10:29:12 +00:00
Pierre Joye
f3dc9b1bd1 - fix test 2011-09-05 10:13:46 +00:00
Christian Stocker
2e2eb5e137 Revert r316043, the tests are different on purpose 2011-09-05 08:27:47 +00:00
Stanislav Malyshev
6e8ebecf0e fix tests 2011-09-05 00:49:03 +00:00
Gustavo André dos Santos Lopes
22479239a8 - Fixed bad xor in signed types due to integer promotion.
- Replaced undefined signed overflow with char -> unsigned char conversion.
2011-09-05 00:39:39 +00:00
Gustavo André dos Santos Lopes
5aa6b7a294 - Fixed bug #55576: Cannot conditionally move uploaded file without race
condition.
2011-09-04 23:00:47 +00:00
Gustavo André dos Santos Lopes
2acbe4c93e - Fixed borked refactoring in r307437 (using SUCCESS/FAILURE return instead of
out parameter).
- Fixed signature of php_stream_copy_to_stream_ex to return int in 5.4/trunk
  instead of size_t, as the function only returns SUCCESS/FAILURE.
2011-09-04 22:36:33 +00:00
Pierre Joye
10f68a92ca - add skipif 2011-09-04 22:21:58 +00:00
Pierre Joye
94e495b9ef - force LF eol 2011-09-04 22:12:42 +00:00
Pierre Joye
93db5818b4 - skip on win, TZ cannot be set using putenv at runtime 2011-09-04 22:04:42 +00:00
Pierre Joye
cb40d36edc - skip on win, TZs differ with strftime 2011-09-04 21:59:27 +00:00
Pierre Joye
7e5d92106b - unify warning between win and unix and enable test 2011-09-04 21:48:22 +00:00
Pierre Joye
d1b156f1be - fix test on win, does not use putenv to set the TZ but date_default_timezone_set (should be the case on all platforms actually...) 2011-09-04 21:40:22 +00:00
Stanislav Malyshev
40217d0417 fix bug 55562 - make substr always return rest of the string if length is too long 2011-09-04 18:50:05 +00:00
Pierre Joye
a948142d31 - wrong variable used (ended as non initiazed usage) 2011-09-04 16:33:31 +00:00
Ferenc Kovacs
adb25ed261 passing an invalid session.upload_progress.freq always generates an additional startup error 2011-09-04 15:02:08 +00:00
Ferenc Kovacs
492daa5fa7 passing an invalid session.upload_progress.freq always generates an additional startup error 2011-09-04 14:28:52 +00:00
Tjerk Anne Meesters
9bea3822ac Patch to run two more mysql test cases that would usually be skipped.
Replaced skipifdefaultconnectionfailure.inc by three additional ini_set() statements in connect.inc for the default connection settings

Patch also includes a typo in connect.inc concerning mysql.default_socket
2011-09-04 14:21:27 +00:00
Stanislav Malyshev
8d4848f3d3 fix test 2011-09-04 05:00:30 +00:00
Stanislav Malyshev
7f6f4cc587 test fixes 2011-09-04 04:57:01 +00:00
Christopher Jones
bfdd2c38d9 gcov test fixes 2011-09-02 22:19:03 +00:00
Ferenc Kovacs
7632d09a81 pass an absolute path for the php binary to proc_open, without this the test would fail if ran with a relative TEST_DEV_EXECUTABLE 2011-09-02 20:28:39 +00:00
Shein Alexey
2d52a6934a Synchronized fixed tests from 5.3 branch. 2011-09-02 18:01:20 +00:00
Shein Alexey
258591bdc6 Removed old (< 5.3) version of test and cleaned up the actual version. 2011-09-02 17:41:39 +00:00
Andrey Hristov
cc697fa5bf Fix for Bug #54158 MYSQLND + PDO MySQL requires #define MYSQL_OPT_LOCAL_INFILE
and a bunch of other small preprocessor fixes
2011-09-02 13:53:41 +00:00