]> granicus.if.org Git - php/log
php
13 years agofix test
Stanislav Malyshev [Tue, 6 Sep 2011 05:20:51 +0000 (05:20 +0000)]
fix test

13 years agouse DBUG_ON flag for checking debug
Stanislav Malyshev [Tue, 6 Sep 2011 05:20:05 +0000 (05:20 +0000)]
use DBUG_ON flag for checking debug
# Some libmysql builds don't define DBUG_OFF and non-debug builds are more frequent

13 years agothis tests looks mysqlnd only
Stanislav Malyshev [Tue, 6 Sep 2011 05:13:47 +0000 (05:13 +0000)]
this tests looks mysqlnd only

13 years agoreport fix
Stanislav Malyshev [Tue, 6 Sep 2011 05:04:37 +0000 (05:04 +0000)]
report fix

13 years ago- add skipif
Pierre Joye [Mon, 5 Sep 2011 19:59:42 +0000 (19:59 +0000)]
- add skipif

13 years agoNo more test failure for libmysql, http://news.php.net/php.internals/55210
Ulf Wendel [Mon, 5 Sep 2011 16:24:40 +0000 (16:24 +0000)]
No more test failure for libmysql, http://news.php.net/php.internals/55210

13 years agoFix for Bug #55582 mysqli_num_rows() returns always 0 for unbuffered, when mysqlnd...
Andrey Hristov [Mon, 5 Sep 2011 15:29:45 +0000 (15:29 +0000)]
Fix for Bug #55582 mysqli_num_rows() returns always 0 for unbuffered, when mysqlnd is used

13 years agoFixed tests (due to error message changed)
Xinchen Hui [Mon, 5 Sep 2011 15:05:51 +0000 (15:05 +0000)]
Fixed tests (due to error message changed)

13 years agoFixed compiler warning "incompatible pointer type"
Xinchen Hui [Mon, 5 Sep 2011 15:02:21 +0000 (15:02 +0000)]
Fixed compiler warning "incompatible pointer type"

13 years agoReduced timeout in this test to 1ms, no need to wait further.
Shein Alexey [Mon, 5 Sep 2011 14:43:08 +0000 (14:43 +0000)]
Reduced timeout in this test to 1ms, no need to wait further.

13 years ago- add skipif
Pierre Joye [Mon, 5 Sep 2011 13:52:24 +0000 (13:52 +0000)]
- add skipif

13 years ago- add skipif
Pierre Joye [Mon, 5 Sep 2011 13:41:01 +0000 (13:41 +0000)]
- add skipif

13 years ago- use the same test on win
Pierre Joye [Mon, 5 Sep 2011 13:37:30 +0000 (13:37 +0000)]
- use the same test on win

13 years ago- close the stream before removing the file (win and other system may lock it) and...
Pierre Joye [Mon, 5 Sep 2011 13:31:13 +0000 (13:31 +0000)]
- close the stream before removing the file (win and other system may lock it) and use test dir for tmp data

13 years ago- sync&fix test with 5.3
Pierre Joye [Mon, 5 Sep 2011 13:23:25 +0000 (13:23 +0000)]
- sync&fix test with 5.3

13 years ago- fix test, slash or back slash can be present
Pierre Joye [Mon, 5 Sep 2011 13:13:37 +0000 (13:13 +0000)]
- fix test, slash or back slash can be present

13 years ago- stupid me.
Pierre Joye [Mon, 5 Sep 2011 13:06:51 +0000 (13:06 +0000)]
- stupid me.

13 years ago- disable on win
Pierre Joye [Mon, 5 Sep 2011 13:05:28 +0000 (13:05 +0000)]
- disable on win

13 years agoFix #ifdef for mixed builds (ext/mysql using myslqnd, mysqli using libmysql)
Johannes Schlüter [Mon, 5 Sep 2011 13:05:15 +0000 (13:05 +0000)]
Fix #ifdef for mixed builds (ext/mysql using myslqnd, mysqli using libmysql)

13 years ago- disable on win
Pierre Joye [Mon, 5 Sep 2011 13:04:12 +0000 (13:04 +0000)]
- disable on win

13 years ago- other hostname can be defined or returned first
Pierre Joye [Mon, 5 Sep 2011 12:34:55 +0000 (12:34 +0000)]
- other hostname can be defined or returned first

13 years agotypo
Hannes Magnusson [Mon, 5 Sep 2011 12:00:24 +0000 (12:00 +0000)]
typo

13 years ago- force LF
Pierre Joye [Mon, 5 Sep 2011 11:46:05 +0000 (11:46 +0000)]
- force LF

13 years agoFix the test in 5.4 and trunk.
Hannes Magnusson [Mon, 5 Sep 2011 11:07:38 +0000 (11:07 +0000)]
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.

13 years ago- not used anymore, one version to rule them all
Pierre Joye [Mon, 5 Sep 2011 11:00:52 +0000 (11:00 +0000)]
- not used anymore, one version to rule them all

13 years agoMake the test faster, what was done:
Shein Alexey [Mon, 5 Sep 2011 11:00:14 +0000 (11:00 +0000)]
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

13 years ago- force LF and enable it on windows now
Pierre Joye [Mon, 5 Sep 2011 10:59:26 +0000 (10:59 +0000)]
- force LF and enable it on windows now

13 years agoFix test to use microtime() as time() doesn't always catchup fast enough :]
Hannes Magnusson [Mon, 5 Sep 2011 10:55:07 +0000 (10:55 +0000)]
Fix test to use microtime() as time() doesn't always catchup fast enough :]

13 years ago- force LF
Pierre Joye [Mon, 5 Sep 2011 10:52:01 +0000 (10:52 +0000)]
- force LF

13 years agoFix test, one skipif is enough
Hannes Magnusson [Mon, 5 Sep 2011 10:30:41 +0000 (10:30 +0000)]
Fix test, one skipif is enough

13 years ago- update test to the zeng arg path argument
Pierre Joye [Mon, 5 Sep 2011 10:29:12 +0000 (10:29 +0000)]
- update test to the zeng arg path argument

13 years ago- fix test
Pierre Joye [Mon, 5 Sep 2011 10:13:46 +0000 (10:13 +0000)]
- fix test

13 years agoRevert r316043, the tests are different on purpose
Christian Stocker [Mon, 5 Sep 2011 08:27:47 +0000 (08:27 +0000)]
Revert r316043, the tests are different on purpose

13 years agofix tests
Stanislav Malyshev [Mon, 5 Sep 2011 00:49:03 +0000 (00:49 +0000)]
fix tests

13 years ago- Fixed bad xor in signed types due to integer promotion.
Gustavo André dos Santos Lopes [Mon, 5 Sep 2011 00:39:39 +0000 (00:39 +0000)]
- Fixed bad xor in signed types due to integer promotion.
- Replaced undefined signed overflow with char -> unsigned char conversion.

13 years ago- Fixed bug #55576: Cannot conditionally move uploaded file without race
Gustavo André dos Santos Lopes [Sun, 4 Sep 2011 23:00:47 +0000 (23:00 +0000)]
- Fixed bug #55576: Cannot conditionally move uploaded file without race
  condition.

13 years ago- Fixed borked refactoring in r307437 (using SUCCESS/FAILURE return instead of
Gustavo André dos Santos Lopes [Sun, 4 Sep 2011 22:36:33 +0000 (22:36 +0000)]
- 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.

13 years ago- add skipif
Pierre Joye [Sun, 4 Sep 2011 22:21:58 +0000 (22:21 +0000)]
- add skipif

13 years ago- force LF eol
Pierre Joye [Sun, 4 Sep 2011 22:12:42 +0000 (22:12 +0000)]
- force LF eol

13 years ago- skip on win, TZ cannot be set using putenv at runtime
Pierre Joye [Sun, 4 Sep 2011 22:04:42 +0000 (22:04 +0000)]
- skip on win, TZ cannot be set using putenv at runtime

13 years ago- skip on win, TZs differ with strftime
Pierre Joye [Sun, 4 Sep 2011 21:59:27 +0000 (21:59 +0000)]
- skip on win, TZs differ with strftime

13 years ago- unify warning between win and unix and enable test
Pierre Joye [Sun, 4 Sep 2011 21:48:22 +0000 (21:48 +0000)]
- unify warning between win and unix and enable test

13 years ago- fix test on win, does not use putenv to set the TZ but date_default_timezone_set...
Pierre Joye [Sun, 4 Sep 2011 21:40:22 +0000 (21:40 +0000)]
- 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...)

13 years agofix bug 55562 - make substr always return rest of the string if length is too long
Stanislav Malyshev [Sun, 4 Sep 2011 18:50:05 +0000 (18:50 +0000)]
fix bug 55562 - make substr always return rest of the string if length is too long

13 years ago- wrong variable used (ended as non initiazed usage)
Pierre Joye [Sun, 4 Sep 2011 16:33:31 +0000 (16:33 +0000)]
- wrong variable used (ended as non initiazed usage)

13 years agopassing an invalid session.upload_progress.freq always generates an additional startu...
Ferenc Kovacs [Sun, 4 Sep 2011 15:02:08 +0000 (15:02 +0000)]
passing an invalid session.upload_progress.freq always generates an additional startup error

13 years agopassing an invalid session.upload_progress.freq always generates an additional startu...
Ferenc Kovacs [Sun, 4 Sep 2011 14:28:52 +0000 (14:28 +0000)]
passing an invalid session.upload_progress.freq always generates an additional startup error

13 years agoPatch to run two more mysql test cases that would usually be skipped.
Tjerk Anne Meesters [Sun, 4 Sep 2011 14:21:27 +0000 (14:21 +0000)]
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

13 years agofix test
Stanislav Malyshev [Sun, 4 Sep 2011 05:00:30 +0000 (05:00 +0000)]
fix test

13 years agotest fixes
Stanislav Malyshev [Sun, 4 Sep 2011 04:57:01 +0000 (04:57 +0000)]
test fixes

13 years agogcov test fixes
Christopher Jones [Fri, 2 Sep 2011 22:19:03 +0000 (22:19 +0000)]
gcov test fixes

13 years agopass an absolute path for the php binary to proc_open, without this the test would...
Ferenc Kovacs [Fri, 2 Sep 2011 20:28:39 +0000 (20:28 +0000)]
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

13 years agoSynchronized fixed tests from 5.3 branch.
Shein Alexey [Fri, 2 Sep 2011 18:01:20 +0000 (18:01 +0000)]
Synchronized fixed tests from 5.3 branch.

13 years agoRemoved old (< 5.3) version of test and cleaned up the actual version.
Shein Alexey [Fri, 2 Sep 2011 17:41:39 +0000 (17:41 +0000)]
Removed old (< 5.3) version of test and cleaned up the actual version.

13 years agoFix for Bug #54158 MYSQLND + PDO MySQL requires #define MYSQL_OPT_LOCAL_INFILE
Andrey Hristov [Fri, 2 Sep 2011 13:53:41 +0000 (13:53 +0000)]
Fix for Bug #54158 MYSQLND + PDO MySQL requires #define MYSQL_OPT_LOCAL_INFILE
and a bunch of other small preprocessor fixes

13 years agoCoverage for bug#54704, of which I think it is bogus, thus no dedicated test.
Ulf Wendel [Fri, 2 Sep 2011 13:35:17 +0000 (13:35 +0000)]
Coverage for bug#54704, of which I think it is bogus, thus no dedicated test.

13 years agofix message
Andrey Hristov [Fri, 2 Sep 2011 12:59:32 +0000 (12:59 +0000)]
fix message

13 years agofunction rename to comply with the schema of other callbacks
Andrey Hristov [Fri, 2 Sep 2011 11:22:41 +0000 (11:22 +0000)]
function rename to comply with the schema of other callbacks

13 years agoHopefully, this is an even better way to check for InnoDB support as of MySQL 5.6.1
Ulf Wendel [Fri, 2 Sep 2011 11:06:51 +0000 (11:06 +0000)]
Hopefully, this is an even better way to check for InnoDB support as of MySQL 5.6.1

13 years agoAs of MySQL 5.6.1 the server variable have_innodb is no more. Updating InnoDB check...
Ulf Wendel [Fri, 2 Sep 2011 10:38:51 +0000 (10:38 +0000)]
As of MySQL 5.6.1 the server variable have_innodb is no more. Updating InnoDB check...

13 years agomerge from trunk
Boris Lytochkin [Fri, 2 Sep 2011 10:13:30 +0000 (10:13 +0000)]
merge from trunk
added SNMPException class, enabling ability to throw exceptions
when a known SNMP error has occured
FR #55542

13 years agoMySQL 5.6 update
Ulf Wendel [Fri, 2 Sep 2011 09:27:23 +0000 (09:27 +0000)]
MySQL 5.6 update

13 years agomerge from trunk:
Boris Lytochkin [Fri, 2 Sep 2011 08:09:23 +0000 (08:09 +0000)]
merge from trunk:
remove php_snmp_get_ce()

13 years ago- Use our external entity loader only in the context of a PHP request.
Gustavo André dos Santos Lopes [Fri, 2 Sep 2011 05:14:32 +0000 (05:14 +0000)]
- Use our external entity loader only in the context of a PHP request.

13 years agoUnmatched %s was still diffing on Linux. Now it matches the whitespace at a minimum
Christopher Jones [Thu, 1 Sep 2011 19:27:14 +0000 (19:27 +0000)]
Unmatched %s was still diffing on Linux. Now it matches the whitespace at a minimum

13 years agoMake test work with database other than "test".
Daniel Convissor [Thu, 1 Sep 2011 19:07:13 +0000 (19:07 +0000)]
Make test work with database other than "test".

13 years agoPrevent the magic quotes fatal error causing a diff
Christopher Jones [Thu, 1 Sep 2011 19:01:37 +0000 (19:01 +0000)]
Prevent the magic quotes fatal error causing a diff

13 years agoCheck for LOAD DATA support during SKIPIF
Ulf Wendel [Thu, 1 Sep 2011 16:35:13 +0000 (16:35 +0000)]
Check for LOAD DATA support during SKIPIF

13 years agoFixing error handling. Skip if load data is not allowed
Ulf Wendel [Thu, 1 Sep 2011 15:45:47 +0000 (15:45 +0000)]
Fixing error handling. Skip if load data is not allowed

13 years agoCan't reproduce the server has gone away messages, Andrey. Please, have a look. I...
Ulf Wendel [Thu, 1 Sep 2011 15:25:15 +0000 (15:25 +0000)]
Can't reproduce the server has gone away messages, Andrey. Please, have a look. I tried MySQL 5.1, 5.5 and 5.6.

13 years agoImprove speed of finding tests (no more CVS, we're on svn now)
Johannes Schlüter [Thu, 1 Sep 2011 14:52:55 +0000 (14:52 +0000)]
Improve speed of finding tests (no more CVS, we're on svn now)

13 years agoFix test. First element within the parantheses is a SQL status code. Should please...
Ulf Wendel [Thu, 1 Sep 2011 14:04:52 +0000 (14:04 +0000)]
Fix test. First element within the parantheses is a SQL status code. Should please gcov

13 years agoadded a NEWS entry about the change in XSL
Christian Stocker [Thu, 1 Sep 2011 13:43:38 +0000 (13:43 +0000)]
added a NEWS entry about the change in XSL

13 years agoFixing tests debug output
Ulf Wendel [Thu, 1 Sep 2011 13:37:49 +0000 (13:37 +0000)]
Fixing tests debug output

13 years ago- use %s, bad c/p
Pierre Joye [Thu, 1 Sep 2011 13:28:00 +0000 (13:28 +0000)]
- use %s, bad c/p

13 years agoCheck if MySQL server supports SSL and, if using mysqlnd, check if PHP streams will...
Ulf Wendel [Thu, 1 Sep 2011 13:17:16 +0000 (13:17 +0000)]
Check if MySQL server supports SSL and, if using mysqlnd, check if PHP streams will support SSL

13 years agoMove the XFAILED printout way up the list so we can actually notice the really failin...
Hannes Magnusson [Thu, 1 Sep 2011 13:06:12 +0000 (13:06 +0000)]
Move the XFAILED printout way up the list so we can actually notice the really failing ones

13 years ago- fix test
Pierre Joye [Thu, 1 Sep 2011 12:49:26 +0000 (12:49 +0000)]
- fix test

13 years ago- win and nux work the same way
Pierre Joye [Thu, 1 Sep 2011 12:42:54 +0000 (12:42 +0000)]
- win and nux work the same way

13 years ago- force LF eol style as this test depends on it
Pierre Joye [Thu, 1 Sep 2011 12:35:41 +0000 (12:35 +0000)]
- force LF eol style as this test depends on it

13 years ago- Fix TSRM build
Johannes Schlüter [Thu, 1 Sep 2011 12:04:54 +0000 (12:04 +0000)]
- Fix TSRM build

13 years agoSimplify mysqlnd debug trace marginally for debugging
Ulf Wendel [Thu, 1 Sep 2011 11:48:18 +0000 (11:48 +0000)]
Simplify mysqlnd debug trace marginally for debugging

13 years ago- consider that bison 2.x is used. updated our ci boxes accordingly (windows too...
Pierre Joye [Thu, 1 Sep 2011 11:40:37 +0000 (11:40 +0000)]
- consider that bison 2.x is used. updated our ci boxes accordingly (windows too), which were using 1.4

13 years ago- consider that bison 2.x is used. updated our ci boxes accordingly (windows too...
Pierre Joye [Thu, 1 Sep 2011 11:40:23 +0000 (11:40 +0000)]
- consider that bison 2.x is used. updated our ci boxes accordingly (windows too), which were using 1.4

13 years agoHack around http://bugs.mysql.com/62320
Ulf Wendel [Thu, 1 Sep 2011 11:27:14 +0000 (11:27 +0000)]
Hack around http://bugs.mysql.com/62320

13 years agoSeeing thousands of PASS tests flying by is meaningless.
Hannes Magnusson [Thu, 1 Sep 2011 11:00:51 +0000 (11:00 +0000)]
Seeing thousands of PASS tests flying by is meaningless.
Add an option to only print certain result groups.

13 years ago- force LF eol style as this test depends on it
Pierre Joye [Thu, 1 Sep 2011 09:33:43 +0000 (09:33 +0000)]
- force LF eol style as this test depends on it

13 years agoFixed test randomly failing due to different error messages. Also added a skip
Matteo Beccati [Thu, 1 Sep 2011 00:45:56 +0000 (00:45 +0000)]
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

13 years ago- Change PDO_oci connection defaults to match Oracle XE defaults, higher chance
Johannes Schlüter [Wed, 31 Aug 2011 23:42:04 +0000 (23:42 +0000)]
- Change PDO_oci connection defaults to match Oracle XE defaults, higher chance
  to work out of the box

13 years ago- error msg may vary (parser)
Pierre Joye [Wed, 31 Aug 2011 23:12:35 +0000 (23:12 +0000)]
- error msg may vary (parser)

13 years agoFixed test. Apparently it was already fixed on PHP_5_3 98% of the cases and
Matteo Beccati [Wed, 31 Aug 2011 22:38:20 +0000 (22:38 +0000)]
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.

13 years agoFixed false positive failure on gcov
Matteo Beccati [Wed, 31 Aug 2011 22:12:53 +0000 (22:12 +0000)]
Fixed false positive failure on gcov

13 years ago- Register extensions using mysqlnd (mysql, myslqi, pdo_mysql) with mysqlnd
Johannes Schlüter [Wed, 31 Aug 2011 20:30:08 +0000 (20:30 +0000)]
- Register extensions using mysqlnd (mysql, myslqi, pdo_mysql) with mysqlnd

13 years agotune text align
Boris Lytochkin [Wed, 31 Aug 2011 20:16:56 +0000 (20:16 +0000)]
tune text align

13 years ago- error msg may vary (parser)
Pierre Joye [Wed, 31 Aug 2011 20:16:11 +0000 (20:16 +0000)]
- error msg may vary (parser)

13 years ago- error msg may vary (parser)
Pierre Joye [Wed, 31 Aug 2011 20:14:13 +0000 (20:14 +0000)]
- error msg may vary (parser)

13 years ago- error msg may vary
Pierre Joye [Wed, 31 Aug 2011 20:10:22 +0000 (20:10 +0000)]
- error msg may vary

13 years ago- typo
Pierre Joye [Wed, 31 Aug 2011 20:07:44 +0000 (20:07 +0000)]
- typo

13 years agotest coverage for SNMP::ERRNO_MULTIPLE_SET_QUERIES
Boris Lytochkin [Wed, 31 Aug 2011 19:45:45 +0000 (19:45 +0000)]
test coverage for SNMP::ERRNO_MULTIPLE_SET_QUERIES

13 years agoFixed expect format to ignore the textual error message from readlink().
Tjerk Anne Meesters [Wed, 31 Aug 2011 18:26:23 +0000 (18:26 +0000)]
Fixed expect format to ignore the textual error message from readlink().

Bug #55555