summaryrefslogtreecommitdiff
path: root/mysql-test/suite.pm
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-26713 Add test for mysql_install_db creating service, with i18Vladislav Vaintroub2021-12-151-0/+3
|
* MDEV-26713 Set activeCodePage=UTF8 for windows programsVladislav Vaintroub2021-12-151-0/+22
| | | | | | | | | | | | - Use corresponding entry in the manifest, as described in https://docs.microsoft.com/en-us/windows/apps/design/globalizing/use-utf8-code-page - If if ANSI codepage is UTF8 (i.e for Windows 1903 and later) Use UTF8 as default client charset Set console codepage(s) to UTF8, in case process is using console - Allow some previously disabled MTR tests, that used Unicode for in "exec", for the recent Windows versions
* Revert "MDEV-26713 Windows - improve utf8 support for command line tools"st-10.8-wladVladislav Vaintroub2021-11-191-17/+0
| | | | This reverts commit several commits pushed by mistake.
* MDEV-26713 Windows - improve utf8 support for command line toolsVladislav Vaintroub2021-11-181-0/+17
|
* MDEV-26142: Fix failures of the tests main.features and ↵Dmitry Shulga2021-07-151-0/+6
| | | | | | | | | | | | | | | | | | | | sys_vars.stored_program_cache_func when they are run in PS mode These tests produced different results in case they were run with the option --ps-protocol. These tests produced different result sets since a value of Feature_subquery and handler_read_key status system variables are updated one time more for ps-protocol (the first time it is updated on Prepare phase and the second time on Execute phase of PS protocol) So different result sets are expected for both tests. To make tests successfully runnable both for case it is run with and without the option --ps-protocol the new protocol combination [ps, nm] and protocol specific result files have been added. Moreover, the perl script mysql-test/mariadb-test-run.pl has been updated to make the variable opt_ps_protocol visible outside perl file containing this variable.
* mtr: aix - no pool of threadsDaniel Black2021-07-021-0/+1
|
* MDEV-25894: support AIX as a platform in mtrDaniel Black2021-07-021-1/+7
| | | | | Parital backport of 48938c57c7f75b2a7627212b01cd65cfd6830261 so platform dependent AIX tests can be done.
* Remove WolfSSL workaround for old version.Vladislav Vaintroub2021-06-091-2/+0
| | | | We're already on 4.4.6
* WolfSSL fixesSergei Golubchik2020-05-081-2/+2
| | | | | | remove Timeval workaround (not needed anymore). add template workaround. comments.
* Update WolfSSLVladislav Vaintroub2020-05-081-0/+3
| | | | | | | | | Fix WolfSSL build: - Do not build with TLSv1.0,it stopped working,at least with SChannel client - Disable a test that depends on TLSv1.0 - define FP_MAX_BITS always, to fix 32bit builds. - Increase MAX_AES_CTX_SIZE, to fix build on Linux
* MDEV-18565 Galera mtr-suite fails if galera library is not installedSergei Golubchik2020-04-271-15/+0
| | | | | | revert/simplify f5390eea9a9 remove galera-specific checks from mtr and the main suite
* MDEV-20170 main.tls_version and main.tls_version1 fail in buildbot on RHEL8Sergei Golubchik2019-12-271-10/+0
| | | | | | | | Instead of trying to detect MinProtocol=TLSv1.2 in all possible sections of files in all possible locations where openssl is configured to find its configuration in all possible distros (and these locations are mutually different in Debian, Ubuntu, and RHEL, btw) - just make mtr to instruct openssl not to read any config files at all.
* MDEV-20185: Windows: Use of uninitialized value $bpath in string eqJulius Goryavsky2019-08-191-3/+3
| | | | | | | | | | | | | The execution of mtr in the Windows environment fails due to the fact that the new code from MDEV-18565 does not take into account the need to add the ".exe" extension to the names of executable files when searching for pre-requisites that are needed to run SST scripts (especially when using mariabackup) and when searching paths to some other Galera utilities. This patch fixes this flaw. Also adding paths to the PATH environment variable is now done with the correct delimiter character.
* MDEV-18565: Galera mtr-suite fails if galera library is not installedJulius Goryavsky2019-07-171-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, running mtr with an incorrect (for example, new or obsolete) version of wsrep_provider (for example, with the 26 version of libgalera_smm.so) leads to the failure of tests in several suites with vague error diagnostics. As for the galera_3nodes suite, the mtr also does not effectively check all the prerequisites after merge with MDEV-18426 fixes. For example, tests that using mariabackup do not check for presence of ss and socat/nc. This is due to improper handling of relative paths in mtr scripts. In addition, some tests in different suites can be run without setting the environment variables such as MTR_GALERA_TFMT, XBSTREAM, and so on. To eliminate all these issues, this patch makes the following changes: 1. Added auxiliary wsrep_mtr_check utility (which located in the mysql-test/lib/My/SafeProcess subdirectory), which compares the versions of the wsrep API that used by the server and by the wsrep provider library, and it does this comparison safely, without accessing the API if the versions do not match. 2. All checks related to the presence of mariabackup and utilities that necessary for its operation transferred from the local directories of different mtr suites (from the suite.pm files) to the main suite.pm file. This not only reduces the amount of code and eliminates duplication of identical code fragments, but also avoids problems due to the inability of mtr to consider relative paths to include files when checking skip combinations. 3. Setting the values of auxiliary environment variables that are necessary for Galera, SST scripts and mariabackup (to work properly) is moved to the main mysql-test-run.pl script, so as not to duplicate this code in different suites, and to avoid partial corrections of the same errors for different suites (while other suites remain uncorrected). 4. Fixed duplication of the have_file_key_management.inc and have_filekeymanagement.inc files between different suites, these checks are also transferred to the top level. 5. Added garbd presence check and garbd path variable. https://jira.mariadb.org/browse/MDEV-18565
* fix suite.pm to not garble $_Sergei Golubchik2019-07-021-3/+3
|
* enable TLSv1.0 in WolfSSLSergei Golubchik2019-07-021-0/+2
|
* don't run tls_version test if TLSv1.1 is disabledSergei Golubchik2019-07-021-0/+8
| | | | | | in /etc/ssl/openssl.cnf as it happens to be on the buster builder
* cleanup: mtr suite.pm ssl checksSergei Golubchik2019-07-021-18/+13
|
* MDEV-18531 : Use WolfSSL instead of YaSSL as "bundled" SSL/encryption libraryVladislav Vaintroub2019-05-221-2/+7
| | | | | | | | - Add new submodule for WolfSSL - Build and use wolfssl and wolfcrypt instead of yassl/taocrypt - Use HAVE_WOLFSSL instead of HAVE_YASSL - Increase MY_AES_CTX_SIZE, to avoid compile time asserts in my_crypt.cc (sizeof(EVP_CIPHER_CTX) is larger on WolfSSL)
* Merge branch '10.2' into 10.3Oleksandr Byelkin2019-05-121-0/+4
|\
| * Merge branch '10.1' into 10.2Oleksandr Byelkin2019-05-041-0/+5
| |\
| | * MDEV-18131 MariaDB does not verify IP addresses from subject alternativeVladislav Vaintroub2019-04-281-0/+5
| | | | | | | | | | | | | | | | | | | | | names Added a call to X509_check_ip_asc() in case server_hostname represents an IP address.
* | | Merge branch '10.2' into 10.3Sergei Golubchik2019-01-251-3/+2
|\ \ \ | |/ /
| * | Fix tests not to fail with OpenSSL 1.1.1 with TLSv1.3Sergei Golubchik2019-01-251-2/+2
| | |
* | | Merge 10.2 into 10.3Marko Mäkelä2018-11-061-3/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | main.derived_cond_pushdown: Move all 10.3 tests to the end, trim trailing white space, and add an "End of 10.3 tests" marker. Add --sorted_result to tests where the ordering is not deterministic. main.win_percentile: Add --sorted_result to tests where the ordering is no longer deterministic.
| * | Merge 10.1 into 10.2Marko Mäkelä2018-11-061-3/+3
| |\ \ | | |/
| | * Merge branch '10.0' into 10.1Sergei Golubchik2018-10-311-3/+3
| | |\
| | | * MDEV-12023 Assertion failure sym_node->table != NULL on startupMarko Mäkelä2018-10-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | row_drop_table_for_mysql(): Avoid accessing non-existing dictionary tables. dict_create_or_check_foreign_constraint_tables(): Add debug instrumentation for creating and dropping a table before the creation of any non-core dictionary tables. trx_purge_add_update_undo_to_history(): Adjust a debug assertion, so that it will not fail due to the test instrumentation.
* | | | Merge 10.2 into 10.3Marko Mäkelä2018-04-231-0/+3
|\ \ \ \ | |/ / /
| * | | Merge 10.1 into 10.2Marko Mäkelä2018-04-211-0/+3
| |\ \ \ | | |/ /
| | * | skip innodb-table-online,crypt tests if no encryption pluginSergei Golubchik2018-04-131-0/+3
| | | |
* | | | Create 'main' test directory and move 't' and 'r' thereMichael Widenius2018-03-291-3/+3
| | | |
* | | | Merge branch '10.2' into 10.3Sergei Golubchik2018-03-281-0/+3
|\ \ \ \ | |/ / /
| * | | Merge branch '10.1' into 10.2Sergei Golubchik2018-03-251-0/+3
| |\ \ \ | | |/ /
| | * | MDEV-15409 make sure every sst script is tested in buildbotSergei Golubchik2018-03-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | galera SST tests have a debug part, but we don't want to limit them to fulltest2 builder. So, add support for test files that have a debug part: * add maybe_debug.inc and maybe_debug.combinations * 'debug' combination is run when debug is available * 'release' combination is run otherwise * test wraps debug parts in if($with_debug) { ... } * and creates ,debug.rdiff for debug results
* | | | Remove XtraDBMarko Mäkelä2017-06-211-11/+3
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The XtraDB storage engine was already replaced by InnoDB and disabled in MariaDB Server 10.2. Let us remove it altogether to avoid dragging dead code around. Replace some references to XtraDB with references to InnoDB. rpl_get_position_info(): Remove. Remove the mysql-test-run --suite=percona, because it only contains tests specific to XtraDB, many of which were disabled already in earlier MariaDB versions.
* | | Merge 10.1 into 10.2Marko Mäkelä2017-05-061-0/+4
|\ \ \ | |/ / | | | | | | | | | | | | Also, include fixes by Vladislav Vaintroub to the aws_key_management plugin. The AWS C++ SDK specifically depends on OPENSSL_LIBRARIES, not generic SSL_LIBRARIES (such as YaSSL).
| * | MDEV-10594 SSL hostname verification fails for SubjectAltNamesSergei Golubchik2017-04-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | use X509_check_host for OpenSSL 1.0.2+ This adds: * support for subjectAltNames * wildcards * sub-domain matching
* | | the mysql-test combination is 'innodb' not 'xtradb'Sergei Golubchik2016-12-121-3/+4
| | |
* | | simplify the ipv6 checkSergei Golubchik2016-10-041-8/+3
| | |
* | | MDEV-9185: fix ipv6 detection test in MTRDaniel Black2016-10-041-3/+9
|/ / | | | | | | Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
* | Merge branch '10.0' into 10.1Sergei Golubchik2016-02-231-1/+1
|\ \ | |/
| * Merge branch '5.5' into 10.0Sergei Golubchik2016-02-151-1/+1
| |\
| | * more strict ipv6_ok check in mtrSergei Golubchik2016-02-151-1/+1
| | | | | | | | | | | | | | | don't use ipv6 is the check fails for any reason. for example, an ancient solaris perl didn't have sockaddr_in6() in Socket at all.
* | | MDEV-7913 main.openssl_6975 'tlsv10' fails in buildbot on Wheezy and PreciseSergei Golubchik2015-05-301-1/+1
| | | | | | | | | | | | don't run this test on 1.0.1c
* | | move encryption tests to a dedicate suiteSergei Golubchik2015-05-131-4/+0
| | | | | | | | | | | | remove few tests for variables that never existed (merge error)
* | | mtr: don't disable tests in suite.pm unnecessarySergei Golubchik2015-04-091-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | only those tests should be disabled in suite.pm that cannot be disabled from mysqltest files (e.g. when the server is started with a special command-line option - unknown option will abort the server before mysqltest will start its checks).
* | | Skip necessary encryption tests if required plugin is not found.Jan Lindström2015-03-271-0/+6
| | |
* | | MDEV-7772: SIGSEGV on my_aes_encrypt_cbc when -DWITH_SSL=bundledJan Lindström2015-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Two problems: - Read/Write outside of buffer at memcpy() because of incorrect parameters . OPENSSL_assert(EVP_CIPHER_CTX_iv_length(&ctx.ctx) == iv_length); // ECB does not use IV, thus incorrect assertion Added: mysql-test/include/encryption_algorithms.combinations to run tests with methods cbc, ecb and ctr in those systems where they are available (see suite.pm).
* | | mtr check for openssl support for AES_CTRSergei Golubchik2015-02-101-0/+4
| | |