Commit graph

37 commits

Author SHA1 Message Date
msvensson@pilot.mysql.com
113dd00d42 Always return 0 inidcating that socket path would not be truncated when
running on windows. Apparently Cygwin tries to emulate UNIX Socket and thus
fails to create one.
2008-04-22 21:55:09 +02:00
msvensson@pilot.mysql.com
23f462137e Since IO::Socket::UNIX is part of core perl, it's not enough to
"eval use" it. Instead trap the error that occurs when creating the socket
on platforms that does not support it.
2008-04-22 12:43:38 +02:00
msvensson@pilot.mysql.com
ceb5e439a6 Improve 'collect_one_suite' so it looks in storage/*/mysql-test-suites by default
Also make it possible to specify a path to the suite, for example:
./mtr --suite=/some/path/to/suitedir
2008-04-22 12:40:48 +02:00
msvensson@pilot.mysql.com
761b355d0e Add check for unix socket path truncation
Don't allow unix socket path to be truncated
2008-04-21 18:32:32 +02:00
msvensson@pilot.mysql.com
16d4936e3b Set verbose to off by default 2008-04-02 10:08:44 +02:00
msvensson@pilot.mysql.com
d8a6ff5d60 Only use safe_kill if SAFE_WINPID is defined 2008-03-14 19:15:01 +01:00
msvensson@pilot.mysql.com
1e39c3cc70 kickstart the fake cygwin process in case safe_kill fails
Loop twice over process to shutdown, first handle thise that has been
shutdown and then continue with the ones that have been killed
2008-03-14 14:01:12 +01:00
msvensson@pilot.mysql.com
60dcedb7c2 Add additional printouts
Fix formatting
2008-03-14 13:34:39 +01:00
msvensson@pilot.mysql.com
0d1d46c7e2 Find ndb binaries
Verbose SafeProcess.pm
2008-03-13 17:16:42 +01:00
msvensson@pilot.mysql.com
c74678e227 New Makefile.am for mysql-test makes it pass also "make distcheck" and "make install" 2008-03-13 17:07:11 +01:00
msvensson@pilot.mysql.com
af585cf4d8 Also copy [mysqld] section to [embedded] 2008-03-12 12:35:30 +01:00
msvensson@pilot.mysql.com
0dba42cf7c Improve process kill on windows 2008-03-12 11:32:18 +01:00
msvensson@pilot.mysql.com
a4b15aa3fa Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-win
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-03-10 16:42:04 +01:00
msvensson@pilot.mysql.com
20b3c15590 Improve error message dir -> croak 2008-03-10 16:37:37 +01:00
msvensson@pilot.mysql.com
5dbb4c96eb Ignore all common signals
Just retry OpenEvent a couple of times with a "yield" in between
2008-03-10 16:00:39 +01:00
msvensson@pilot.mysql.com
afefb65cea Print args in case requirement fails 2008-03-10 14:09:59 +01:00
msvensson@pilot.mysql.com
34605cc110 Add retry logic for OpenEvent to avoid problems when the
process to kill hasn't yet created the event
2008-03-10 12:54:46 +01:00
msvensson@pilot.mysql.com
c7af2433b9 Improve error messages 2008-03-06 10:19:41 +01:00
msvensson@pilot.mysql.com
0ad57d7a0c Don't ignore SIGCHLD since that affects waitpid on some platforms
Fix spelling error
Move exit_code into local scope
2008-03-04 12:32:51 +01:00
msvensson@pilot.mysql.com
8d6d318c6b Only uise one file for current test
Don't retry by default
Fixes for --embedded
2008-02-25 16:41:59 +01:00
msvensson@pilot.mysql.com
0b547b26db Fix embedded server 2008-02-22 15:38:10 +01:00
msvensson@pilot.mysql.com
3dc9779480 Convert to mixed_path under cywin, not native_path 2008-02-22 12:23:46 +01:00
msvensson@pilot.mysql.com
bf65a61567 Use My::Platform
Put all path conversions in one file
Convert the --tmpdir  passed to "mysqld --verbose --help"
2008-02-20 14:55:30 +01:00
msvensson@shellback.(none)
df9d0ad133 Merge bk-internal:/home/bk/mysql-5.1-maint2
into  shellback.(none):/home/msvensson/mysql/mysql-5.1-mtr
2008-01-18 00:06:30 +01:00
msvensson@shellback.(none)
cf9053f199 Add C version of safe_process 2008-01-18 00:03:38 +01:00
msvensson@pilot.mysql.com
a8117ca4f1 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-win
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-01-10 12:15:51 +01:00
msvensson@pilot.mysql.com
b23110f2de Auto kill any children before exiting from process 2008-01-10 12:00:56 +01:00
msvensson@pilot.mysql.com
36c69b9d6c Fix bug where local variable masked outer variable 2008-01-09 16:10:25 +01:00
msvensson@pilot.mysql.com
284f28d78f Remember dynamically set options as started 2008-01-08 15:47:04 +01:00
msvensson@pilot.mysql.com
9087ee9170 Try to dynamically change option, restart if it fails 2008-01-07 19:44:48 +01:00
msvensson@pilot.mysql.com
8b3d267eea Don't use Getopt::Long in safe_process.pl 2007-12-20 18:39:33 +01:00
msvensson@pilot.mysql.com
b93f8b6820 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-win
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2007-12-19 13:06:03 +01:00
msvensson@pilot.mysql.com
aeb88d4b76 Properly detect cygwin 2007-12-19 13:04:54 +01:00
msvensson@pilot.mysql.com
926f7dec68 Windows fixeds for mtr 2007-12-19 12:58:06 +01:00
msvensson@shellback.(none)
c9d61297f0 Generate ssl arguments only if ssl is supported 2007-12-13 15:02:50 +01:00
msvensson@pilot.mysql.com
d918988baa WL#4189
- dynamic configuration support
 - safe process
 - cleanups
 - create new suite for fedarated
2007-12-12 18:19:24 +01:00
msvensson@shellback.(none)
20fe800c45 WL#3949 Test should set binlog format dnamically
- Reorganize collect a little to make it easier to apply optimizations
  and settings to collected test cases.
- Add suite/rpl/combination file
- Rename include/set_binlog_format_x.inc to .sql since thay are run by "mysql"
2007-11-23 13:29:31 +01:00