Commit Graph

61826 Commits

Author SHA1 Message Date
Andrey Hristov
4325a8bffc 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
67872cf7a9 Fixed tests (due to error message changed) 2011-09-05 15:05:51 +00:00
Xinchen Hui
83f61c2c53 Fixed compiler warning "incompatible pointer type" 2011-09-05 15:02:21 +00:00
Shein Alexey
50d8d816c5 Reduced timeout in this test to 1ms, no need to wait further. 2011-09-05 14:43:08 +00:00
Pierre Joye
79d26fcaf0 - add skipif 2011-09-05 13:52:24 +00:00
Pierre Joye
ad72309636 - add skipif 2011-09-05 13:41:01 +00:00
Pierre Joye
fdf9771773 - use the same test on win 2011-09-05 13:37:30 +00:00
Pierre Joye
a2b6e6a364 - 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
7947df24af - sync&fix test with 5.3 2011-09-05 13:23:25 +00:00
Pierre Joye
10ced2993b - fix test, slash or back slash can be present 2011-09-05 13:13:37 +00:00
Pierre Joye
d6acaddca2 - stupid me. 2011-09-05 13:06:51 +00:00
Pierre Joye
ff0f145768 - disable on win 2011-09-05 13:05:28 +00:00
Johannes Schlüter
283b7ad9db Fix #ifdef for mixed builds (ext/mysql using myslqnd, mysqli using libmysql) 2011-09-05 13:05:15 +00:00
Pierre Joye
5dc49bebaa - disable on win 2011-09-05 13:04:12 +00:00
Pierre Joye
997a86ebb9 - other hostname can be defined or returned first 2011-09-05 12:34:55 +00:00
Hannes Magnusson
8154263956 typo 2011-09-05 12:00:24 +00:00
Pierre Joye
e2e8be545f - force LF 2011-09-05 11:46:05 +00:00
Hannes Magnusson
e1ec448fe6 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
42ca18e853 - not used anymore, one version to rule them all 2011-09-05 11:00:52 +00:00
Shein Alexey
d1e7999d5b 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
372976e2aa - force LF and enable it on windows now 2011-09-05 10:59:26 +00:00
Hannes Magnusson
3986046b6e Fix test to use microtime() as time() doesn't always catchup fast enough :] 2011-09-05 10:55:07 +00:00
Pierre Joye
8d49cf21f2 - force LF 2011-09-05 10:52:01 +00:00
Hannes Magnusson
5f7bbebd8e Fix test, one skipif is enough 2011-09-05 10:30:41 +00:00
Pierre Joye
2ecaee20e9 - update test to the zeng arg path argument 2011-09-05 10:29:12 +00:00
Pierre Joye
69a1e5d3ac - fix test 2011-09-05 10:14:13 +00:00
Hannes Magnusson
22c4ca480f Interesting typo... 2011-09-05 09:34:14 +00:00
Hannes Magnusson
8db93019b4 Not all submodules have MINIT, but they have MINFO and need to be registered
(cought by tyrael@)
2011-09-05 09:27:23 +00:00
Christian Stocker
72d0abc8d3 Revert r316043, the tests are different on purpose 2011-09-05 08:27:47 +00:00
Stanislav Malyshev
e07d1f0bbc fix tests 2011-09-05 00:49:03 +00:00
Gustavo André dos Santos Lopes
187b419b04 - 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
ac20ab11f7 - Fixed bug #55576: Cannot conditionally move uploaded file without race
condition.
2011-09-04 23:00:47 +00:00
Gustavo André dos Santos Lopes
d5c5bb0e96 - 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
c4d6b3d786 - add skipif 2011-09-04 22:21:58 +00:00
Pierre Joye
65fee77a48 - force LF eol 2011-09-04 22:12:42 +00:00
Pierre Joye
8b710f5b5a - skip on win, TZ cannot be set using putenv at runtime 2011-09-04 22:04:42 +00:00
Pierre Joye
5d1962120f - skip on win, TZs differ with strftime 2011-09-04 21:59:27 +00:00
Pierre Joye
861dac9726 - unify warning between win and unix and enable test 2011-09-04 21:48:22 +00:00
Pierre Joye
14b5985dff - 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
ae1af27e18 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
678e8e2872 - wrong variable used (ended as non initiazed usage) 2011-09-04 16:33:31 +00:00
Ferenc Kovacs
ccac1ad9b6 passing an invalid session.upload_progress.freq always generates an additional startup error 2011-09-04 15:02:08 +00:00
Ferenc Kovacs
f1c31a5a15 passing an invalid session.upload_progress.freq always generates an additional startup error 2011-09-04 14:28:52 +00:00
Tjerk Anne Meesters
9582b62111 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
9b9ab11e8f fix test 2011-09-04 05:00:30 +00:00
Stanislav Malyshev
19cbfb42f6 test fixes 2011-09-04 04:57:01 +00:00
Daniel Convissor
1d50d1174c Make test work with database other than "test" (merge from 5.4). 2011-09-04 00:56:38 +00:00
Christopher Jones
06cc022740 gcov test fixes 2011-09-02 22:19:03 +00:00
Ferenc Kovacs
38131641a0 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
712628c47c Synchronized fixed tests from 5.3 branch. 2011-09-02 18:01:20 +00:00