summaryrefslogtreecommitdiff
path: root/mysql-test/lib
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-16266 - New command FLUSH SSL to reload server's SSL ↵Vladislav Vaintroub2018-12-121-0/+5
| | | | certificate(private key,CRL,etc)
* Fixed that mtr --extern works with --include/have_innodb.incMonty2018-12-091-0/+1
|
* Merge 10.3 into 10.4mariadb-10.4.0Marko Mäkelä2018-11-081-1/+1
|\
| * Merge 10.2 into 10.3Marko Mäkelä2018-11-071-1/+1
| |\
| | * Merge 10.1 into 10.2Marko Mäkelä2018-11-071-1/+1
| | |\
| | | * Merge 10.0 into 10.1Marko Mäkelä2018-11-071-1/+1
| | | |\
| | | | * Merge 5.5 into 10.0Marko Mäkelä2018-11-071-1/+1
| | | | |\
| | | | | * test framework manual is movedTakashi Sasaki2018-11-011-1/+1
| | | | | |
* | | | | | Merge 10.3 into 10.4Marko Mäkelä2018-11-061-5/+1
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge 10.2 into 10.3Marko Mäkelä2018-11-061-5/+1
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-5/+1
| | |\ \ \ \ | | | |/ / /
| | | * | | Merge branch '10.0' into 10.1Sergei Golubchik2018-10-301-5/+1
| | | |\ \ \ | | | | |/ /
| | | | * | Merge branch '5.5' into 10.0Sergei Golubchik2018-10-271-5/+1
| | | | |\ \ | | | | | |/
| | | | | * mtr: no warning when an environment variable isn't setSergei Golubchik2018-09-221-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e.g. "No option named 'FILE_KEY_MANAGEMENT_SO' in group 'ENV' at lib/My/ConfigFactory.pm line 370." when a test has `plugin-load-add=@ENV.FILE_KEY_MANAGEMENT_SO`
* | | | | | MDEV-16536 Remove shared memory transportVladislav Vaintroub2018-08-201-21/+0
|/ / / / /
* | | | | MDEV-14900 Upstream 10.3 debian patchesSergei Golubchik2018-08-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | applied (at least partially): * armhf_mroonga_storage_fail.patch (unaligned write) * mysqld_multi.server_lsb-header.patch (add LSB header) * fix-spelling-errors.patch (tabxml.cpp) * hurd_socket.patch (in Platform.pm) * remove-systemd-obsolete-target.patch
* | | | | Print out retry count when using mysql-test-run --repeatMonty2018-05-221-1/+1
| | | | |
* | | | | Better crash reports on OS XSergey Vojtovich2018-05-211-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | Symlink core from default location (/cores/core.%P), so that lldb can handle it.
* | | | | Added support for lldb core analysis in mtrSergey Vojtovich2018-05-211-0/+39
| | | | |
* | | | | Merge branch '10.2' into 10.3Sergei Golubchik2018-05-111-8/+6
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch '10.1' into 10.2Sergei Golubchik2018-05-101-8/+6
| |\ \ \ \ | | |/ / /
| | * | | Merge branch '10.0' into 10.1Sergei Golubchik2018-05-051-8/+6
| | |\ \ \ | | | |/ /
| | | * | MDEV-16084 Calling exit() from a signal handler is unsafe.Vladislav Vaintroub2018-05-031-8/+6
| | | | | | | | | | | | | | | | | | | | Call _exit() from signal handler. main() can just do return.
* | | | | Create 'main' test directory and move 't' and 'r' thereMichael Widenius2018-03-291-6/+7
| | | | |
* | | | | Merge bb-10.2-ext into 10.3Marko Mäkelä2018-03-131-0/+2
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.1 into 10.2Marko Mäkelä2018-03-121-0/+2
| |\ \ \ \ | | |/ / /
| | * | | mtr: force-flush stderr and stdoutSergei Golubchik2018-02-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prevents buffering in cases like ./mtr | tee log
* | | | | Merge branch 'bb-10.2-ext' into 10.3Sergei Golubchik2018-02-232-4/+31
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch '10.1' into 10.2Sergei Golubchik2018-02-222-4/+31
| |\ \ \ \ | | |/ / /
| | * | | log all mtr output in vardir/log/stdout.logSergei Golubchik2018-02-212-4/+31
| | | | | | | | | | | | | | | | | | | | despite the name, it logs both stdout and stderr
* | | | | Make possible to use clang on Windows (clang-cl)Vladislav Vaintroub2018-02-202-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -DWITH_ASAN can be used as well now, on x64 Fix many clang-cl warnings.
* | | | | Merge bb-10.2-ext into 10.3Marko Mäkelä2018-02-151-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch 'github/10.1' into 10.2Sergei Golubchik2018-02-061-1/+1
| |\ \ \ \ | | |/ / /
| | * | | Merge branch 'github/10.0' into 10.1Sergei Golubchik2018-02-021-1/+1
| | |\ \ \ | | | |/ /
| | | * | Merge remote-tracking branch '5.5' into 10.0Vicențiu Ciorbaru2018-01-241-1/+1
| | | |\ \ | | | | |/
| | | | * Finally! Make './mtr --valgrind-mysqld --gdb' to work.Sergei Golubchik2018-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It has its limitations, e.g. it assumes that there's only one gdb and only one valgrind process is running. And a hard-coded one-second delay might be too short for slow machines. Still, it's better than "doesn't work at all"
| | | | * Fix use of `require` in mysql-test-run.Oleksandr Byelkin2017-04-192-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The motivation for this is that Perl is moving towards not having current directory ./ in @INC by default. This is causing mysql-test-run.pl to fail in latest Debian Unstable: https://lists.debian.org/debian-devel-announce/2016/08/msg00013.html However, we have `use "lib"`, there is no need for current directory in @INC, except for a gross hack. In mtr_cases.pm, there is a `require "mtr_misc.pl"`, which hides mtr_misc.pl away in mtr_cases namespace. And things only work because mysql-test-run.pl loads it with a different name, `require "lib/mtr_misc.pl"`! (Perl will `require` only once for each unique filename). Fix this by only using `require` in main program, and referencing functions with :: scope from other namespaces. For multi-use in different namespaces, proper `use` modules should be used. Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
* | | | | Windows, compiling : use /permissive- switch to improve conformanceVladislav Vaintroub2018-02-071-1/+2
|/ / / / | | | | | | | | | | | | fix a couple "initialization skipped by goto" and other new errors.
* | | | Fix MinSizeRel build on Windows.Vladislav Vaintroub2018-01-261-9/+13
| | | | | | | | | | | | | | | | do not include test suite in release zip anymore.
* | | | Silence warning coming from Windows' own header dbghelp.hVladislav Vaintroub2018-01-101-0/+13
| | | |
* | | | Windows- "my_safe_kill <pid> dump" will now also dump child processesVladislav Vaintroub2017-10-251-62/+72
| | | | | | | | | | | | | | | | | | | | This is necessary to analyze hangs on buildbot, because they also happen when mysqltest executes external programs.
* | | | Fix my_safe_kill's create crashdump functionality on Windows.Vladislav Vaintroub2017-10-241-17/+64
| | | | | | | | | | | | | | | | | | | | If pid belongs to my_safe_process.exe, create crashdump of my_safe_process's child, because my_safe_process is only used to start other programs.
* | | | Fix mtr to create a process dump on Window for hanging or looping processesVladislav Vaintroub2017-10-133-3/+87
| | | |
* | | | don't install same files twiceSergei Golubchik2017-08-141-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CMakeLists.txt - merge mistake, apparently include/CMakeLists.txt - install from CMAKE_CURRENT_BINARY_DIR. Only install from CMAKE_CURRENT_SOURCE_DIR, if it's different from CMAKE_CURRENT_BINARY_DIR mysql-test/CMakeLists.txt - INSTALL_MYSQL_TEST() macro installs everything, no need to install mtr separately once again mysql-test/lib/My/SafeProcess/CMakeLists.txt MYSQL_ADD_EXECUTABLE includes INSTALL sql-bench/CMakeLists.txt list files explicitly. don't install garbage, don't process 'foo' and 'foo.sh' separately, it's only one file to install, not two.
* | | | Merge 10.1 into 10.2Marko Mäkelä2017-06-121-0/+4
|\ \ \ \ | |/ / /
| * | | MDEV-13043 Skipped tests ignore warning suppressionsElena Stepanova2017-06-121-0/+4
| | | |
* | | | Merge 10.1 into 10.2Marko Mäkelä2017-05-062-62/+15
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | 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/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use X509_check_host for OpenSSL 1.0.2+ This adds: * support for subjectAltNames * wildcards * sub-domain matching
| * | | cleanup: simplify setting of ssl* options in my.cnf templatesSergei Golubchik2017-04-271-56/+0
| | | | | | | | | | | | | | | | magic--
| * | | regenerate SSL certificates againSergei Golubchik2017-04-271-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | and make sure that private ca key is not deleted at the end of the procedure, so that we could generate additional certificates any time without regenerating everything