php-src/ext/pdo_mysql/tests
Gabriel Caruso 6c4e2079c0 Use EXPECT when possible
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2019-03-11 00:05:44 -03:00
..
bug41125.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug44327.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug46292.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug53551.phpt
bug53782.phpt
bug54929.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug63176.phpt
bug66141.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug68371.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug70272.phpt Fixed bug #70272 (Segfault in pdo_mysql) 2015-08-18 18:33:07 +08:00
bug70389.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
bug70862.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
bug71569.phpt Fix test description 2016-02-13 17:46:24 +01:00
bug75177.phpt Fixed bug #75018, fixed bug #75177 2017-09-13 14:10:30 +02:00
bug77289.phpt Fixed bug #77289 2019-01-09 09:50:26 +01:00
bug_33689.phpt Remove more PHP 6 leftovers from tests 2016-11-24 22:39:39 +01:00
bug_37445.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug_39483.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug_39858.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
bug_41125.phpt
bug_41698.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug_41997.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
bug_42499.phpt Remove more PHP 6 leftovers from tests 2016-11-24 22:39:39 +01:00
bug_43371.phpt
bug_44454.phpt
bug_44707.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
bug_45120.phpt
bug_50323.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
bug_51670.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug_61207.phpt
bug_61411.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
bug_61755.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
bug_74376.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
bug_pecl_7976.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
bug_pecl_12925.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
common.phpt Remove local variables 2019-02-03 21:03:00 +01:00
config.inc
CONFLICTS Implement fine-grained conflict handling 2019-02-20 11:20:40 +01:00
last_insert_id.phpt
mysql_pdo_test.inc Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
PDO_getAvaliableDrivers.phpt Add and fix SKIPIF sections 2018-02-04 17:26:37 +01:00
pdo_mysql___construct.phpt Updated tests to reflect exception class changes. 2015-05-16 16:49:14 -05:00
pdo_mysql___construct_ini.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql___construct_options.phpt security fix - by default 'local infile' is disabled: 2019-02-11 18:04:51 +01:00
pdo_mysql___construct_options_libmysql.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
pdo_mysql___construct_uri-win32.phpt fork test 2015-08-20 13:32:29 +02:00
pdo_mysql___construct_uri.phpt fork test 2015-08-20 13:32:29 +02:00
pdo_mysql_attr_autocommit.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_attr_case.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_attr_client_version.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_attr_connection_status.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
pdo_mysql_attr_driver_name.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_attr_errmode.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_attr_fetch_table_names.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
pdo_mysql_attr_init_command.phpt Remove more PHP 6 leftovers from tests 2016-11-24 22:39:39 +01:00
pdo_mysql_attr_max_buffer_size.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_attr_multi_statements.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_attr_oracle_nulls.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_attr_prefetch.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_attr_server_info.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_attr_server_version.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_attr_statement_class.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_begintransaction.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
pdo_mysql_bit.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_class_constants.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
pdo_mysql_commit.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_connect_charset.phpt Convert CRLF line endings to LF 2018-10-13 11:21:27 +02:00
pdo_mysql_errorcode.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_errorinfo.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
pdo_mysql_exec.phpt
pdo_mysql_exec_ddl.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_exec_load_data.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
pdo_mysql_exec_select.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_fetch_both.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_get_attribute.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
pdo_mysql_interface.phpt Switch PDO to use serialize_deny 2018-11-26 13:28:14 +01:00
pdo_mysql_last_insert_id.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
pdo_mysql_local_infile_default_off.phpt Use EXPECT when possible 2019-03-11 00:05:44 -03:00
pdo_mysql_local_infile_set_on.phpt Use EXPECT when possible 2019-03-11 00:05:44 -03:00
pdo_mysql_multi_stmt_nextrowset.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
pdo_mysql_param_str_natl.phpt Add PDO parameter types for national character set strings 2017-03-20 18:25:50 -04:00
pdo_mysql_pconnect.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
pdo_mysql_phpinfo.phpt
pdo_mysql_prepare_emulated.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
pdo_mysql_prepare_emulated_anonymous.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
pdo_mysql_prepare_emulated_placeholder_everywhere.phpt
pdo_mysql_prepare_load_data.phpt Merge branch 'PHP-7.1' 2016-12-15 09:32:26 +01:00
pdo_mysql_prepare_match_against.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
pdo_mysql_prepare_native.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
pdo_mysql_prepare_native_clear_error.phpt Use bool instead of boolean while throwing a type error 2018-02-04 23:09:40 +01:00
pdo_mysql_prepare_native_column.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_prepare_native_dup_named_placeholder.phpt
pdo_mysql_prepare_native_mixed_style.phpt Use bool instead of boolean while throwing a type error 2018-02-04 23:09:40 +01:00
pdo_mysql_prepare_native_named_placeholder.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
pdo_mysql_prepare_native_placeholder_everywhere.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_quote.phpt Add PDO parameter types for national character set strings 2017-03-20 18:25:50 -04:00
pdo_mysql_rollback.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_stmt_bindcolumn.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
pdo_mysql_stmt_bindparam.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
pdo_mysql_stmt_bindparam_types.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_stmt_bindvalue.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
pdo_mysql_stmt_blobfromsteam.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_stmt_blobs.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_stmt_closecursor.phpt
pdo_mysql_stmt_closecursor_empty.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
pdo_mysql_stmt_columncount.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_stmt_errorcode.phpt Use bool instead of boolean while throwing a type error 2018-02-04 23:09:40 +01:00
pdo_mysql_stmt_errorinfo.phpt Remove more PHP 6 leftovers from tests 2016-11-24 22:39:39 +01:00
pdo_mysql_stmt_fetch_non_select.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_stmt_fetch_serialize.phpt Remove more PHP 6 leftovers from tests 2016-11-24 22:39:39 +01:00
pdo_mysql_stmt_fetch_serialize_simple.phpt Cleanup tests version checks 2016-11-20 14:16:50 +01:00
pdo_mysql_stmt_fetchobject.phpt Remove more PHP 6 leftovers from tests 2016-11-24 22:39:39 +01:00
pdo_mysql_stmt_getcolumnmeta.phpt Remove local variables 2019-02-03 21:03:00 +01:00
pdo_mysql_stmt_multiquery.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_stmt_nextrowset.phpt Remove more PHP 6 leftovers from tests 2016-11-24 22:39:39 +01:00
pdo_mysql_stmt_rowcount.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_stmt_unbuffered_2050.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pdo_mysql_stmt_variable_columncount.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
pdo_mysql_subclass.phpt Remove more PHP 6 leftovers from tests 2016-11-24 22:39:39 +01:00
pdo_mysql_types.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
pdo_mysql_types_zerofill.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
pecl_bug_5200.phpt
pecl_bug_5780.phpt Remove local variables 2019-02-03 21:03:00 +01:00
pecl_bug_5802.phpt Remove local variables 2019-02-03 21:03:00 +01:00
README
show_tables.phpt
skipif.inc Sync leading and final newlines in source code files 2018-10-14 12:51:01 +02:00
table.inc Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00

You must set the following environment variables to run the tests:

  PDO_MYSQL_TEST_DSN  - DSN
    For example: mysql:dbname=test;host=localhost;port=3306

  PDO_MYSQL_TEST_HOST     - database host
  PDO_MYSQL_TEST_DB      - database (schema) name
  PDO_MYSQL_TEST_SOCKET  - database server socket
  PDO_MYSQL_TEST_ENGINE  - storage engine to use
  PDO_MYSQL_TEST_USER    - database user
  PDO_MYSQL_TEST_PASS    - database user password
  PDO_MYSQL_TEST_CHARSET - database charset

  NOTE: if any of PDO_MYSQL_TEST_[HOST|DB|SOCKET|ENGINE|CHARSET] is
  part of PDO_MYSQL_TEST_DSN, the values must match. That is, for example,
  for PDO_MYSQL_TEST_DSN = mysql:dbname=test you MUST set PDO_MYSQL_TEST_DB=test.