Hannes Magnusson
a1ecf8c887
Fix test to use microtime() as time() doesn't always catchup fast enough :]
2011-09-05 10:55:07 +00:00
Hannes Magnusson
cd8f903d7e
Fix test, one skipif is enough
2011-09-05 10:30:41 +00:00
Stanislav Malyshev
cc9483f19e
fix tests
2011-09-05 00:49:03 +00:00
Gustavo André dos Santos Lopes
dbe8c7c4fa
- 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
cc45ce4586
- Fixed bug #55576 : Cannot conditionally move uploaded file without race
...
condition.
2011-09-04 23:00:47 +00:00
Pierre Joye
d7be9cf675
- add skipif
2011-09-04 22:21:58 +00:00
Pierre Joye
c70b78c445
- skip on win, TZ cannot be set using putenv at runtime
2011-09-04 22:04:42 +00:00
Pierre Joye
c3380e42c8
- skip on win, TZs differ with strftime
2011-09-04 21:59:27 +00:00
Pierre Joye
8d0096e2d9
- unify warning between win and unix and enable test
2011-09-04 21:48:22 +00:00
Pierre Joye
9ef72e259b
- 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
Pierre Joye
e0792c2590
- wrong variable used (ended as non initiazed usage)
2011-09-04 16:33:51 +00:00
Tjerk Anne Meesters
7170a996c5
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
Ferenc Kovacs
1313220640
These regexes don't fail under the new backtrack limit, so lower it just for the test to check the failure.
2011-09-04 13:27:19 +00:00
Christopher Jones
43e4d8cade
gcov test fixes
2011-09-02 22:19:03 +00:00
Ferenc Kovacs
c6d59bd2fa
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
920fa567bd
Removed old (< 5.3) version of test and cleaned up the actual version.
2011-09-02 17:41:39 +00:00
Andrey Hristov
ab99790eca
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
Ulf Wendel
b23baaf0fc
Coverage for bug#54704, of which I think it is bogus, thus no dedicated test.
2011-09-02 13:35:17 +00:00
Andrey Hristov
e35e394a79
fix message
2011-09-02 12:59:32 +00:00
Andrey Hristov
d96e924b25
function rename to comply with the schema of other callbacks
2011-09-02 11:22:41 +00:00
Ulf Wendel
864f8106be
Hopefully, this is an even better way to check for InnoDB support as of MySQL 5.6.1
2011-09-02 11:06:51 +00:00
Ulf Wendel
248a9a7f4d
As of MySQL 5.6.1 the server variable have_innodb is no more. Updating InnoDB check...
2011-09-02 10:38:51 +00:00
Ulf Wendel
65a3b6e0bb
MySQL 5.6 update
2011-09-02 09:27:23 +00:00
Ulf Wendel
ec4eb7ab17
Check for LOAD DATA support during SKIPIF
2011-09-01 16:35:13 +00:00
Ulf Wendel
286d8afda9
Fixing error handling. Skip if load data is not allowed
2011-09-01 15:45:47 +00:00
Ulf Wendel
afb0cce4c9
Can't reproduce the server has gone away messages, Andrey. Please, have a look. I tried MySQL 5.1, 5.5 and 5.6.
2011-09-01 15:25:15 +00:00
Ulf Wendel
46910fd722
Fix test. First element within the parantheses is a SQL status code. Should please gcov
2011-09-01 14:04:52 +00:00
Christian Stocker
e1813b69c5
Merge from Trunk
...
simplexml->query returns empty array if no nodes were found
and false if libxml thinks the xpath-expression was invalid.
Behaves now the same like DomXPath and fixes Bug #48601
Adjusted a test to reflect that change
2011-09-01 13:42:45 +00:00
Ulf Wendel
3c15d50c80
Fixing tests debug output
2011-09-01 13:37:49 +00:00
Ulf Wendel
3eb3eb406e
Check if MySQL server supports SSL and, if using mysqlnd, check if PHP streams will support SSL
2011-09-01 13:17:16 +00:00
Ulf Wendel
80ec77df04
Simplify mysqlnd debug trace marginally for debugging
2011-09-01 11:48:18 +00:00
Ulf Wendel
04b6ce21d2
Hack around http://bugs.mysql.com/62320
2011-09-01 11:27:14 +00:00
Matteo Beccati
d66630f625
Fixed test randomly failing due to different error messages. Also added a skip
...
section in case "fakeURL" resolves to an IP address, as some empty error
messages and HTML can be seen in the reports
2011-09-01 00:45:56 +00:00
Johannes Schlüter
48c69c378a
- Change PDO_oci connection defaults to match Oracle XE defaults, higher chance
...
to work out of the box
2011-08-31 23:42:04 +00:00
Matteo Beccati
953b10c59c
Fixed test. Apparently it was already fixed on PHP_5_3 98% of the cases and
...
the fix wasn't ported to trunk/PHP_5_4. However the very same test was failing
on my FreeBSD 6.2 box, that appears to also decode the "ks_c_5601-1987" parts,
so I've made the test more generic.
2011-08-31 22:38:20 +00:00
Matteo Beccati
f4e100e47f
Fixed false positive failure on gcov
2011-08-31 22:12:53 +00:00
Tjerk Anne Meesters
323ee1fe4c
Fixed expect format to ignore the textual error message from readlink().
...
Bug #55555
2011-08-31 18:26:23 +00:00
Andrey Hristov
fa8a1c387a
Fix valgrind error (sending of initialized bytes over the network).
...
When the compression was successful the compressed data + uninitialized data
at the end was sent to the server, because the length of the compressed payload
wasn't correctly calculated (actually the length of the uncompressed payload as assumed).
However, the uncompress() function has internally the length of the real payload and skips
the binary trash at the end - thus no data damage occurs!
2011-08-31 18:18:23 +00:00
Johannes Schlüter
c25f0424c8
- Update PDO_mysql error mapping
2011-08-31 15:46:07 +00:00
Johannes Schlüter
262cc2f37a
- Be less restrictive on the SQL state, some server versions might fool us
2011-08-31 15:25:18 +00:00
Ulf Wendel
c05bfdf490
Please, whenever changing the mysqli API update the tests. Don't wait for me to catch up.
2011-08-31 13:59:28 +00:00
Ulf Wendel
a7500f1c81
New utility function to check for '[1148] The used command is not allowed with this MySQL version' during SKIPIF
2011-08-31 13:50:58 +00:00
Ulf Wendel
4c3115a011
Check if server supports LOAD DATA LOCAL INFILE to catch [1148] The used command is not allowed with this MySQL version during SKIPIF
2011-08-31 12:58:25 +00:00
Johannes Schlüter
1cb8c01f0d
- Fix Bug #55550 mysql.trace_mode miscounts result sets,
...
fixes ext/mysql/tests/mysql_deprecated_api.phpt
2011-08-31 11:11:08 +00:00
Christian Stocker
bbecdf57d3
fix xsl tests
2011-08-31 09:16:04 +00:00
Matteo Beccati
18b8a3bcb7
Fixed a few false positives on gcov for ext/pgsql
2011-08-30 14:01:03 +00:00
Hannes Magnusson
850d865551
Add skipifs for bug#54971 (patch by datibbaw@)
2011-08-30 13:46:24 +00:00
Hannes Magnusson
a84c667e0e
Fixed bug#48476
2011-08-30 13:41:57 +00:00
Pierre Joye
63fa1fb1ca
- ws
2011-08-30 05:44:37 +00:00
Arpad Ray
a6a08dc322
Fixed bug #55366 : keys lost when using substr_replace an array
2011-08-29 21:35:28 +00:00