Rui Hirokawa
2d6ff8dc5c
MFH: fixed test failure on win32.
2011-09-11 13:04:38 +00:00
Rui Hirokawa
5894909f01
MFH: fixed test case failures.
2011-09-11 12:29:15 +00:00
Rui Hirokawa
59b9ca51b0
MFH: fixed test case failures.
2011-09-11 12:12:48 +00:00
Rui Hirokawa
b870f23396
revert previous commit.
2011-09-11 03:56:16 +00:00
Rui Hirokawa
1dd6fd0d4f
revert previous commit.
2011-09-11 03:55:08 +00:00
Rui Hirokawa
9d86be5068
MFH: removed test script which depends on the removed register_globals.
2011-09-11 02:16:58 +00:00
Felipe Pena
f6408176f6
- Fix test
2011-09-10 13:02:00 +00:00
Stanislav Malyshev
666d301ee3
Fix error message
2011-09-10 05:36:14 +00:00
Stanislav Malyshev
334636fefb
revert bad test change
2011-09-10 05:29:29 +00:00
Xinchen Hui
6b57319cf4
Fixed Bug #55653(PS crash with libmysql when binding same variable as param and out)
...
Actually this caused by attempt to efree a INTERNED string
2011-09-10 03:51:16 +00:00
Ulf Wendel
61384510f1
Bug #55653
2011-09-09 12:12:08 +00:00
Hannes Magnusson
a2c1d37d4f
Being smart and cleanup/rename/modify tests seconds before committing isn't very smart.
2011-09-09 08:28:57 +00:00
Hannes Magnusson
7cbaf76ca1
Merge tests from trunk
2011-09-09 08:14:04 +00:00
Pierre Joye
7a3d89a9aa
- nuke unused var
2011-09-09 07:57:29 +00:00
Pierre Joye
2d9f758435
- improve r316420, function must return a value
2011-09-09 07:56:42 +00:00
Pierre Joye
de12ac023c
- improve r316420 (SplFileObject cannot and should not accept directories)
2011-09-08 23:12:32 +00:00
Etienne Kneuss
1e04e19a37
MFH: adapt check for __construct bypass
2011-09-08 23:10:40 +00:00
Pierre Joye
38c698c062
- improve r316420 (SplFileObject cannot and should not accept directories)
2011-09-08 23:07:48 +00:00
Christopher Jones
e81fed3df5
Update SKIPIFs for test portability
2011-09-08 20:13:32 +00:00
Christopher Jones
8e23ee53bf
Fix skipifs
2011-09-08 17:52:45 +00:00
Christopher Jones
0a8e670b15
Fix skipifs to match other tests for the case when connection fails
2011-09-08 17:40:15 +00:00
Pierre Joye
376ba8c92e
- force LF
2011-09-08 16:10:07 +00:00
Etienne Kneuss
5cc7663098
SplFileObject does not accept directories. It did not check for that and blindly opened the directory, which works on linux but fails on windows. Now SplFileObject uses a stat() call to make sure it isn't a directory, if it is, it fails with an exception. Tests have been changed accordingly.
2011-09-08 15:52:59 +00:00
Rui Hirokawa
f79814360c
2nd arguments is necessary in mb_parse_str because register_globals was removed in PHP 5.4.
2011-09-08 15:19:18 +00:00
Hannes Magnusson
285ac82310
Fixed bug#54798 Segfault when CURLOPT_STDERR file pointer is closed before calling curl_exec
2011-09-08 14:37:18 +00:00
Pierre Joye
0507a433a3
- fix test, again...
2011-09-08 11:52:37 +00:00
Ferenc Kovacs
b82f0659c6
skip these tests if can't connect to mysql
2011-09-08 11:30:58 +00:00
Pierre Joye
923c02bbdc
- fix test
2011-09-08 11:24:33 +00:00
Pierre Joye
8e7f4358ca
- force LF and fix... and blame me for not reading the code correctly, zlib tests pass now, linux/bsd/win 100%
2011-09-08 10:20:38 +00:00
Pierre Joye
a1ea21eaac
- force LF
2011-09-08 10:14:38 +00:00
Pierre Joye
567fb34eb3
- skip if no hash
2011-09-08 10:00:47 +00:00
Hannes Magnusson
7e986b2a46
Fix the path to the .pem
2011-09-08 09:27:47 +00:00
Christopher Jones
ff02132caf
Use unique object names to reduce potential clashes when testing in parallel
2011-09-07 19:19:00 +00:00
Rasmus Lerdorf
6f03c9e38e
This test was added to verify that bug 39322 was fixed, which the test
...
does test for and this works. However, it consistently failed because
it relied on a SIGHUP not terminating a sh -c /usr/bin/nohup sleep 50
process which doesn't work because the SIGHUP goes to the sh process
not the nohup'ed sleep process. So, I have sped up the test and removed
the nohup and instead of trying to SIGHUP I am just doing the equivalent
of a kill 0 on it to verify that the resource sticks around.
2011-09-07 18:09:34 +00:00
Ilia Alshanetsky
b6f512cae6
Fixed tests (skip when catch-all DNS such as openDNS is being used)
2011-09-07 15:31:48 +00:00
Rui Hirokawa
0d2aa8591b
MFH: fixed invalid utf-8 check.
2011-09-07 14:30:38 +00:00
Hannes Magnusson
e5553b210a
Revert r316345 which fixes all the tests again
2011-09-07 13:50:18 +00:00
Hannes Magnusson
c4039f6481
Fix errormessage
2011-09-07 13:47:31 +00:00
Johannes Schlüter
70561e9a6d
- Use myslqnd by default when MySQL extensions are activated but no path given
2011-09-07 13:33:56 +00:00
Pierre Joye
59614b05c4
- reject paths with trainling spaces using the very good new zend arg
2011-09-07 12:33:22 +00:00
Hannes Magnusson
04044dd07e
Fix cleanup routines
2011-09-07 12:05:19 +00:00
Pierre Joye
a2252e527f
- skip on win, diff TZ format
2011-09-07 11:26:59 +00:00
Hannes Magnusson
a68943fc69
The error message is different when built with zts
2011-09-07 10:41:38 +00:00
Hannes Magnusson
45118176f5
Update skipif
2011-09-07 10:39:55 +00:00
Hannes Magnusson
3171c31bbc
Sync tests between branches and fix the getcontent test
2011-09-07 10:38:53 +00:00
Hannes Magnusson
51d36f744a
Update skipif message
2011-09-07 10:34:58 +00:00
Pierre Joye
828cf36a7f
- force LF (svn prop and config)
2011-09-07 10:12:04 +00:00
Pierre Joye
67d1b69429
- fix test for OS where dir sep is \
2011-09-07 09:19:28 +00:00
Pierre Joye
6ee31df599
- fix test for OS where dir sep is \
2011-09-07 09:03:07 +00:00
Pierre Joye
8dc7e3d8c6
- add skipif for dom
2011-09-07 08:12:08 +00:00
Stanislav Malyshev
38ff70ef25
Commit Gustavo's closure rebinding patch as desided by vote
2011-09-07 06:46:27 +00:00
Xinchen Hui
b1263c4363
fix skipif description
2011-09-07 00:59:10 +00:00
Xinchen Hui
ab9db759b9
fixed typo
2011-09-07 00:56:52 +00:00
Andrey Hristov
be89aa686a
Fix problems with the unbuffered set detection, for libmysql, which resulted
...
in always true. Thanks Stas.
2011-09-06 19:52:19 +00:00
Stanislav Malyshev
6577512462
improve open_basedir handling
2011-09-06 19:51:35 +00:00
Pierre Joye
82b14d2f86
- fix #55622 , mem corruption on large input
2011-09-06 17:41:08 +00:00
Ulf Wendel
d73b285950
Fixing SKIPIF
2011-09-06 16:39:55 +00:00
Johannes Schlüter
7420cf22bc
- Fix bug #55609 (mysqlnd cannot be built shared)
...
# This adds an option --enable-mysqlnd to explicitly built mysqlnd, like any
# other extension it can be used with =shared to build mysqlnd shared;
# mysqlnd will implicitly enabled when requested from another extension
2011-09-06 16:38:22 +00:00
Ulf Wendel
b8ecb0c4af
Fixing SKIPIF
2011-09-06 16:37:45 +00:00
Ulf Wendel
cd0c221f82
Fixing SKIPIF fatal error. 6.0 is history, thus SKIPIF might need further updates?
2011-09-06 16:30:53 +00:00
Ulf Wendel
0f31db8d11
More parenthesis, credits to Nikita Popov
2011-09-06 16:13:03 +00:00
Pierre Joye
520e26718f
- useless skipif
2011-09-06 15:49:28 +00:00
Hannes Magnusson
211806eb73
Add a constant, READLINE_LIB, to be able to differenciate which lib is being used
2011-09-06 15:09:15 +00:00
Hannes Magnusson
b1dd2f4e68
Fixed bug#54450 (callback function when built against libedit)
2011-09-06 15:07:24 +00:00
Andrey Hristov
049a7c49cd
add query information to the trace log
2011-09-06 14:48:43 +00:00
Ulf Wendel
257131c0e0
BORK hunting - Fixing SKIPIF
2011-09-06 14:47:57 +00:00
Ulf Wendel
f5e4b5f1c5
Fix SKIPIF
2011-09-06 13:57:03 +00:00
Ulf Wendel
8bc4572b9e
Fix SKIPIF
2011-09-06 13:50:45 +00:00
Ulf Wendel
cfb4fa47ad
Prevent Notice
2011-09-06 13:39:46 +00:00
Ulf Wendel
faeae7ea47
Reverting to proper --INI-- section usage. Improve SKIPIF to skip test if open_basedir setting is too restrictive during test run for whatever reason.
2011-09-06 12:58:01 +00:00
Pierre Joye
48586679c6
- use only zlib function and reported the failure with base64 in #55620
2011-09-06 12:30:17 +00:00
Hannes Magnusson
1efe10a84b
Mention which library php is using
2011-09-06 11:28:34 +00:00
Pierre Joye
efc45f8b60
- use a more portable name for the filename
2011-09-06 11:24:21 +00:00
Florian Anderiasch
52124aa09c
MFH: Fixed ext/sockets/tests/socket_strerror.phpt
...
So it seems a missing ) killed the test.
2011-09-06 11:15:23 +00:00
Xinchen Hui
ddd98a9adc
move it to right place
2011-09-06 09:45:21 +00:00
Xinchen Hui
42fd7352fb
Add skipif
2011-09-06 09:29:04 +00:00
Pierre Joye
50fc27d119
- missing --SKIPIF--
2011-09-06 09:28:23 +00:00
Pierre Joye
fafe247265
- move it to the right place
2011-09-06 09:23:10 +00:00
Pierre Joye
c21652d6e1
- fix skipif msg
2011-09-06 09:20:14 +00:00
Xinchen Hui
30718d0f14
Added skipif
2011-09-06 09:17:12 +00:00
Xinchen Hui
96ca3f1981
add skipif
2011-09-06 08:11:37 +00:00
Pierre Joye
feaf544ee4
- add skipif
2011-09-06 07:49:31 +00:00
Pierre Joye
8995250ee5
- fix test
2011-09-06 07:47:20 +00:00
Pierre Joye
c4c86324ec
- fix test
2011-09-06 07:44:43 +00:00
Pierre Joye
d8016e05f4
- skip on win
2011-09-06 07:32:37 +00:00
Pierre Joye
702a5de5ac
- add skipif
2011-09-06 07:29:59 +00:00
Pierre Joye
ce70e2b8fd
- add skipif
2011-09-06 07:28:38 +00:00
Pierre Joye
71cda5ea0a
- use something we know it exists...
2011-09-06 07:26:05 +00:00
Pierre Joye
d29a253629
- skip on win, name.. name. are not valid names
2011-09-06 07:23:20 +00:00
Pierre Joye
6402150c91
- add skipif
2011-09-06 07:09:56 +00:00
Pierre Joye
bb4f29c234
- don't test dir sep
2011-09-06 07:07:23 +00:00
Pierre Joye
9a3da11206
- add skipif
2011-09-06 06:57:53 +00:00
Pierre Joye
dd855aec8b
- add skipif
2011-09-06 06:52:26 +00:00
Pierre Joye
0878034b62
- add skipif
2011-09-06 06:50:56 +00:00
Pierre Joye
09b6360c71
- add skipif
2011-09-06 06:47:12 +00:00
Pierre Joye
6be168b22d
- add skipif
2011-09-06 06:44:59 +00:00
Pierre Joye
380aac7189
- add skipif
2011-09-06 06:42:11 +00:00
Stanislav Malyshev
d7ba64b4cd
unused variables
2011-09-06 05:31:08 +00:00
Stanislav Malyshev
7f56f7eb69
allow user streams to override ch* on windows too
2011-09-06 05:28:25 +00:00
Stanislav Malyshev
6280a6bdf9
fix redirect when test run from different places
2011-09-06 05:21:56 +00:00
Stanislav Malyshev
119601b0d3
fix test
2011-09-06 05:20:51 +00:00
Stanislav Malyshev
fa5f7f61ba
use DBUG_ON flag for checking debug
...
# Some libmysql builds don't define DBUG_OFF and non-debug builds are more frequent
2011-09-06 05:20:05 +00:00
Stanislav Malyshev
cbbf6bda4c
this tests looks mysqlnd only
2011-09-06 05:13:47 +00:00
Pierre Joye
e403d5832a
- add skipif
2011-09-05 19:59:42 +00:00
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
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
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
Pierre Joye
10f68a92ca
- add skipif
2011-09-04 22:21:58 +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
Ulf Wendel
748e8b9dec
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
3d890c29fd
fix message
2011-09-02 12:59:32 +00:00
Andrey Hristov
9f7ad10a63
function rename to comply with the schema of other callbacks
2011-09-02 11:22:41 +00:00
Ulf Wendel
6e3708cc59
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
893c890d01
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
Boris Lytochkin
bc3d5d668f
merge from trunk
...
added SNMPException class, enabling ability to throw exceptions
when a known SNMP error has occured
FR #55542
2011-09-02 10:13:30 +00:00
Ulf Wendel
280c4da0d1
MySQL 5.6 update
2011-09-02 09:27:23 +00:00
Boris Lytochkin
8c5fa2ba56
merge from trunk:
...
remove php_snmp_get_ce()
2011-09-02 08:09:23 +00:00
Gustavo André dos Santos Lopes
dc32339c33
- Use our external entity loader only in the context of a PHP request.
2011-09-02 05:14:32 +00:00
Daniel Convissor
d8a41ee031
Make test work with database other than "test".
2011-09-01 19:07:13 +00:00
Christopher Jones
83ee110360
Prevent the magic quotes fatal error causing a diff
2011-09-01 19:01:37 +00:00
Ulf Wendel
32d69a669e
Check for LOAD DATA support during SKIPIF
2011-09-01 16:35:13 +00:00
Ulf Wendel
c1370c2443
Fixing error handling. Skip if load data is not allowed
2011-09-01 15:45:47 +00:00
Ulf Wendel
b32a8d7a4d
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
83551a71c4
Fix test. First element within the parantheses is a SQL status code. Should please gcov
2011-09-01 14:04:52 +00:00
Ulf Wendel
25591bd73e
Fixing tests debug output
2011-09-01 13:37:49 +00:00
Ulf Wendel
80518dc2f4
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
Johannes Schlüter
f90bead78a
- Fix TSRM build
2011-09-01 12:04:54 +00:00
Ulf Wendel
5639fc846d
Simplify mysqlnd debug trace marginally for debugging
2011-09-01 11:48:18 +00:00
Ulf Wendel
9e79833943
Hack around http://bugs.mysql.com/62320
2011-09-01 11:27:14 +00:00
Matteo Beccati
d2621f92b9
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
7a39930796
- 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
e9e2357436
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
c0e08c34df
Fixed false positive failure on gcov
2011-08-31 22:12:53 +00:00
Johannes Schlüter
7d25510b1b
- Register extensions using mysqlnd (mysql, myslqi, pdo_mysql) with mysqlnd
2011-08-31 20:30:08 +00:00
Boris Lytochkin
86b563ea0f
tune text align
2011-08-31 20:16:56 +00:00
Boris Lytochkin
d38cb4aa1e
test coverage for SNMP::ERRNO_MULTIPLE_SET_QUERIES
2011-08-31 19:45:45 +00:00
Tjerk Anne Meesters
bc7942adb5
Fixed expect format to ignore the textual error message from readlink().
...
Bug #55555
2011-08-31 18:26:23 +00:00
Andrey Hristov
12a4dcf5dc
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
878708994d
- Update PDO_mysql error mapping
2011-08-31 15:46:07 +00:00
Johannes Schlüter
b3c3d35b9f
- Be less restrictive on the SQL state, some server versions might fool us
2011-08-31 15:25:18 +00:00
Ulf Wendel
6e2664ee88
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
9c7ad1b962
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
Rui Hirokawa
3826549770
MFH: added alias for *-mobile encodings.
2011-08-31 13:19:03 +00:00
Ulf Wendel
d36c1e5e9b
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
Christian Stocker
13fa5542f7
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-08-31 11:44:22 +00:00
Johannes Schlüter
0d0e6cdb17
- 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
6873ef7055
- Set an empty string and avoid warnings and stopping of the transformation process
...
when a php function can't be called.
- Fixed tests.
2011-08-31 09:14:08 +00:00
Christian Stocker
c1d92d7925
fixed libxml tests
2011-08-31 08:58:12 +00:00
Boris Lytochkin
3aa6f31abd
more tuning based on discussion in FR #40816 :
...
* parse all OIDs earlier, detect all wrong OIDs before any query
is made (GET-operations)
* introduce ERRNO_MULTIPLE_SET_QUERIES:
warn if request contains more OIDs than max_oids and SET operation
(and type&value checks) will be done in chunks.
fix set method when request contains more OIDs than max_oids (2nd and
subsequent chunk were ignored)
2011-08-31 08:36:22 +00:00
Rasmus Lerdorf
595f2e71ec
Since we are creating this csv file locally this should obviously
...
be a a LOCAL infile here for this to work reliably. For robustness
this should probably have a check for the local-infile server
setting as well.
2011-08-31 07:43:58 +00:00
Stanislav Malyshev
c268811b01
fix strptime tests for mac
2011-08-31 07:34:07 +00:00
Rasmus Lerdorf
8b4ac6bb8f
Fix test. I have no idea why the test author didn't expect to get back
...
latin2 when the test is setting it to latin2 here. Both PHP and MySQL
are doing the right thing here.
2011-08-31 07:19:20 +00:00
Stanislav Malyshev
9d52e9b15f
test fixes on Darwin
2011-08-31 07:10:17 +00:00
Gustavo André dos Santos Lopes
49323ad447
- Fixed test htmlentities15.phpt.
2011-08-31 06:32:05 +00:00
Gustavo André dos Santos Lopes
5b544394c4
- Fixed tests when run from outside their directory.
2011-08-31 06:23:24 +00:00
Gustavo André dos Santos Lopes
72e35ba476
- html_tables.h regeneration.
2011-08-31 05:47:19 +00:00
Gustavo André dos Santos Lopes
79bb42548d
- Less GCC warnings; code less readable, yay!
...
- Fixed html_tables.h generaration in 64-bit archs.
- Closes bug #55394 - Patch to suppress initialization warnings in html.c
#signed/unsigned mismatches for another day
#regenerated tables on another commit
2011-08-31 05:45:02 +00:00
Stanislav Malyshev
cd8202694c
fix tests
2011-08-31 04:24:48 +00:00
Boris Lytochkin
1c88dcf39f
merge from trunk:
...
set ERRNO_OID_PARSING_ERROR on OID parse error
2011-08-30 14:24:00 +00:00
Matteo Beccati
238a51ec6e
Fixed a few false positives on gcov for ext/pgsql
2011-08-30 14:01:03 +00:00
Hannes Magnusson
d972f636c9
Add skipifs for bug#54971 (patch by datibbaw@)
2011-08-30 13:46:24 +00:00
Hannes Magnusson
a6e5d309db
Fixed bug#48476
2011-08-30 13:41:57 +00:00
Pierre Joye
4bd71a6c4f
- ws
2011-08-30 05:44:37 +00:00
Gustavo André dos Santos Lopes
7bd505021c
- Turns out the external entity loader is not a per-thread global but a true
...
global. Changed code accordingly; however, applications that embed PHP and
also use libxml2 may be affected negatively.
2011-08-30 01:08:22 +00:00
Arpad Ray
c8de01fef8
Expose session status via new function, session_status (Req #52982 )
2011-08-29 21:29:26 +00:00
Hannes Magnusson
7746cf83d9
fixed bug #55267 - session_regenerate_id fails after header sent even if session.use_cookies = 0
2011-08-29 21:20:41 +00:00
Arpad Ray
0e3b5b137c
Fixed bug #55366 : keys lost when using substr_replace an array
2011-08-29 20:38:52 +00:00
Arpad Ray
b52256c5be
add support for SORT_NATURAL and SORT_FLAG_CASE in array sort functions
2011-08-29 20:23:34 +00:00
Derick Rethans
6edfc470fa
- Updated to version 2011.9 (2011i)
2011-08-29 16:37:56 +00:00
Hannes Magnusson
25352ba350
Fixed bug#53872 (internal corruption of phar)
2011-08-29 16:05:45 +00:00
Gwynne Raskind
81ee8a6c7b
Add test for #53946 to 5.4 (missed it when committing revision 315707)
2011-08-29 14:57:53 +00:00
Gwynne Raskind
06292974b1
Add unescaped Unicode encoding to json_encode(). Closes bug #53946 . Patch by Irker and Gwynne.
2011-08-29 14:56:19 +00:00
Hannes Magnusson
58747dff3a
Changed error messages
2011-08-29 14:29:40 +00:00
Hannes Magnusson
8a83fee12a
Fixed bug#52013 (Unable to decompress files in a compressed phar)
2011-08-29 14:19:54 +00:00
Hannes Magnusson
5519b2ebe1
The Phar class extends RecursiveDirectoryIterator, which has changed the way it ensures its ctor is called
2011-08-29 14:17:41 +00:00
Christian Stocker
4297b67aee
fix xsl date tests
2011-08-29 11:44:30 +00:00
Pierre Joye
7246759277
- fix build, TSRMLS_FETCH must be the last declaration statement and init using TSRM cannot be done before either
2011-08-29 10:10:05 +00:00
Rasmus Lerdorf
9382deede2
Let's do more than hope (as per the comment in the test code) that we
...
don't hit the memory limit, let's disable the limit for this test
since the limit is getting hit by many people
2011-08-29 08:21:42 +00:00
Rasmus Lerdorf
f34ee8a1bd
The link error on an out-of-sync command doesn't start with 0
...
uwe/andrey please double-check
2011-08-29 06:47:07 +00:00
Rasmus Lerdorf
7c7aa30322
Fix another broken test. root can read 0200 files.
2011-08-29 06:19:40 +00:00
Gustavo André dos Santos Lopes
0d7e6a73d6
- Added libxml_set_external_entity_loader().
2011-08-29 05:00:26 +00:00
Rui Hirokawa
402c8cb70e
MFH: reduced footprint for sjis-mac
2011-08-28 04:32:33 +00:00
Boris Lytochkin
d28ae7654d
merge from trunk:
...
export ERRNO_OID_PARSING_ERROR constant:
raise it evry time OID parsing has failed
2011-08-27 08:29:19 +00:00
Boris Lytochkin
4f1005035a
merge from trunk:
...
reformat OID parsing procedure,
fail whole SNMP query on single OID parsing failure
2011-08-27 07:33:27 +00:00
Rui Hirokawa
4a53bdab0b
MFH: corrected valid unicode area.
2011-08-27 01:25:24 +00:00
Rui Hirokawa
d19bfc5d82
MFH: update pua conversion tables.
2011-08-27 00:08:02 +00:00
Andrey Hristov
da2839f71d
fix valgrind warnings in debug builds
2011-08-26 12:14:31 +00:00
Sebastian Bergmann
b04a052f70
Close #55490 .
2011-08-26 07:40:31 +00:00
Boris Lytochkin
d7d90c403f
tune test's README more per FR #55474
2011-08-25 06:00:11 +00:00
Rui Hirokawa
942dd584d3
MFH: added iso2022jp-mobile and emoji unsuppoted in unicode 6.0.
2011-08-24 15:29:17 +00:00
Xinchen Hui
d4a50542ea
Eliminated compile warning "comparison is always false due to limited range of data type"
...
Fixed test failed due to mysql_pconnect throw warning
Fixed test failed when host mysql server doesn't listen on 3306
2011-08-24 10:15:47 +00:00
Scott MacVicar
3d5385dda5
Fix typo in tests for ldap bug #42060
2011-08-24 06:50:39 +00:00
Boris Lytochkin
1cd8b8c80b
apply docs fixes suggested in BR #55474
2011-08-23 19:15:58 +00:00
Daniel Convissor
ad3ecfc8c1
Fix differences in some sub() results that were causing tests to fail.
2011-08-23 16:40:19 +00:00
Christopher Jones
9e830aa505
Sync date with actual PECL release date for correctness
2011-08-22 23:56:34 +00:00
Christopher Jones
5ef712fd46
Remove duplicated test
2011-08-22 18:05:11 +00:00
Daniel Convissor
41403b704c
Fix spring tests for dst/st transition second.
2011-08-22 14:47:12 +00:00
Andrey Hristov
ee96b2df8f
Don't run the test on windows, Unix specific
2011-08-22 11:07:35 +00:00
Andrey Hristov
0aa6354a2d
Fix Bug #55473 mysql_pconnect leaks file descriptors on reconnect
...
The fix is for now in 5_4 and trunk, to be merged into 5_3 after 5.3.8
is packaged (expected today). The test case goes to all branches
2011-08-22 10:42:43 +00:00
Pierre Joye
1d4f05bb31
- fix typo & build
2011-08-22 07:39:09 +00:00
Rui Hirokawa
84ee3a19db
MFH: cleanup jisx0213 table.
2011-08-21 05:02:33 +00:00
Rui Hirokawa
80c431e00c
MFH: speed improvement of jisx0213 conversion.
2011-08-21 02:23:33 +00:00
Boris Lytochkin
cbcf729a30
merge from trunk two commits:
...
Adding IPv6 support (FR #42918 )
more code coverage
2011-08-20 16:10:48 +00:00
Rui Hirokawa
e2ccaeb9a6
MFH: removed SJIS-Mobile#*PUA.
2011-08-20 08:28:40 +00:00
Rui Hirokawa
d6303c7962
MFH: updated limbfl to 1.3.2
2011-08-20 07:29:21 +00:00
Stanislav Malyshev
51af64acf6
Unbreak crypt() (fix bug #55439 )
...
# If you want to remove static analyser messages, be my guest,
# but please run unit tests after
2011-08-19 22:49:18 +00:00
Pierre Joye
5f429c57e9
- Fixed bug #52461 (Incomplete doctype and missing xmlns)
2011-08-19 09:59:47 +00:00
Hannes Magnusson
db37076fc0
Once is generally enough
2011-08-17 12:26:43 +00:00
Andrey Hristov
34019766b6
compile out when PHP_DEBUG is not present
2011-08-17 11:15:55 +00:00