Bjorn Munch
f26f8edff4
cherry picking fix for Bug #39542 from 6.0-runtime
2009-05-27 22:54:40 +02:00
Bjorn Munch
a3c7d96742
Bug #44922 mysqltest's query_get_value function can't work with queries containing ','
...
check_command_args() always looks for the first , (or whatever)
Extended check_command_args() to let arguments be quoted
Added test in mysqltest.test
2009-05-25 17:19:20 +02:00
Matthias Leich
e7004ec5ef
Merge 5.0 -> 5.1 of fix for Bug#42003 and Bug#43114
2009-03-06 15:56:17 +01:00
Matthias Leich
7c4e55cb8a
Merge of fix for Bug#42003 and Bug#43114 into more actual GCA tree
...
modifications according to the reviews are included
2009-03-05 14:35:03 +01:00
Matthias Leich
b771483b85
Last slice of fix for Bug#42003 tests missing the disconnect of connections <> default
...
+ Fix for Bug#43114 wait_until_count_sessions too restrictive, random PB failures
+ Removal of a lot of other weaknesses found
+ modifications according to review
2009-03-03 21:34:18 +01:00
Bernt M. Johnsen
a37ebaf614
Prepared BUG#42711 for push on 5.1
2009-03-02 11:22:38 +01:00
Bernt M. Johnsen
2944bb3618
Prepared BUG#42711 for push
2009-03-02 11:03:13 +01:00
Patrick Crews
783cae1831
merge 5.0 -> 5.1
...
These are only 5.0's fixes being merged.
5.1 and 6.0 Unix-removals will occur in different patches.
2009-02-19 18:24:25 -05:00
Patrick Crews
cc628c61fb
Bug#38831: 11 test cases fail on Windows due to missing commands
...
Replaced Unix calls with mysql-test-run's built-in functions / SQL manipulation where possible.
Replaced error codes with error names as well.
Disabled two tests on Windows due to more complex Unix command usage
See Bug#41307, Bug#41308
2009-02-19 15:37:40 -05:00
Magnus Svensson
37e91accb0
Bug#35701 please allow test language variables in connection and
...
sync_slave_with_master
- Additional patch for "disconnect $variable"
2009-01-15 09:05:51 +01:00
Sven Sandberg
39987388a0
BUG#35701: please allow test language variables in connection and sync_slave_with_master
...
Problem: In the mysqltest language, it was not possible to set the current
connection from a variable, and it was not possible to read the current
connection.
Fix: Allow setting the connection from a variable, like:
connection $variable;
and introduce the mysqltest language variable $CURRENT_CONNECTION, which
holds the name of the current connection.
2008-10-23 16:23:13 +02:00
Magnus Svensson
69f9ec281d
Merge
2008-08-08 20:10:43 +02:00
Magnus Svensson
ed8bc526ae
Merge
2008-08-04 22:25:45 +02:00
Magnus Svensson
39ad2dc05a
Bug #38181 Please print more debug info when tests fail
2008-08-04 21:54:44 +02:00
Magnus Svensson
798590b798
Bug #32307 mysqltest - does not detect illegal if syntax
2008-08-04 12:38:50 +02:00
Tatiana A. Nurnberg
c990f5d378
auto-merge + post-merge fixies
2008-07-21 11:20:03 +02:00
Tatiana A. Nurnberg
76083ed3cf
Bug#23921: random failure of user_limits.test
...
mysqltest disconnect/connect-combo could be so
quick that connect would hit the server before
it had processed the disconnect. Since that
resulted in one more concurrent connection than
we meant to have, global or per-user
max-user-connections could be exceeded.
This could lead to "random" failures in tests
that set those limits.
2008-07-15 13:42:21 +02:00
Mattias Jonsson
e438f9f29d
Bug#35736 Test 'parts.partition_basic_symlink_myisam' depends on output of 'ls'
...
The problem is that relying on the output of the 'ls' command is not
portable as its behavior is not the same between systems and it might
even not be available at all in (Windows).
So I added list_files that relies on the portable mysys library instead.
(and also list_files_write_file and list_files_append_file,
since the test was using '--exec ls' in that way.)
2008-07-09 13:19:04 +02:00
gkodinov/kgeorge@magare.gmz
0cbca19357
Bug #36041 : mysql-test-run doesn't seem to string match
...
100% effectively on Windows
The mysqltest docs state that the 'replace_result' command
doesn't perform any escape processing.
However the current implementation was processing backslash
escapes in the from/to strings.
This prevents replacing e.g. patch on windows (where backslash
is used as a path separator).
Fixed by removing the backslash escape processing from
'replace_result'.
2008-04-29 19:08:52 +03:00
msvensson@pilot.mysql.com
53bc1d5c25
Bug#31004 mysqltest needs a --mkdir command
...
- Add new mysqltest command "mkdir" and "rmdir"
2007-11-01 15:42:19 +01:00
msvensson@pilot.mysql.com
3ef9cb4ed9
Backport mysqltests "change_user" command
2007-10-31 18:44:31 +01:00
msvensson@shellback.(none)
6132e82888
Update test case to allow the .reject file to be in either var/log or r/
2007-10-05 19:28:09 +02:00
msvensson@pilot.(none)
51580c6405
Improve error messages
...
Write test results to var/log
Add test for "source" and variable expansion
2007-08-13 15:46:11 +02:00
msvensson@pilot.(none)
179cd4e016
Merge 192.168.0.7:mysql/mysql-5.0-maint
...
into pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
2007-08-08 18:03:56 +02:00
msvensson@shellback.(none)
6d2f738ff9
Don't require a space between "if" and "(". This should
...
also fix "while" and "connect"
It's now possible to write "if("
2007-08-08 18:03:44 +02:00
msvensson@pilot.(none)
a2f59d74f4
Merge 192.168.0.7:mysql/mysql-5.0-maint
...
into pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
2007-08-08 16:47:35 +02:00
msvensson@shellback.(none)
87f81bce4e
Remove extra newline added to files created by write_file and append_file
2007-08-08 16:44:01 +02:00
msvensson@pilot.(none)
7c0341376d
Merge 192.168.0.7:mysql/mysql-5.0-maint
...
into pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
2007-08-07 11:58:00 +02:00
msvensson@pilot.(none)
f785bf00de
Bug#20037 mysqltest requires cygwin on windows(part 1, new mysqltest commands)
...
- Update comments
- Make "write_file" fail if file already exist
- Remove temporary files created by test cases
2007-08-07 11:40:03 +02:00
msvensson@shellback.(none)
b8a2161673
Remove NOT_YET code
...
Update comments
Add more tests for "let from query"
2007-08-06 11:20:36 +02:00
msvensson@shellback.(none)
cc00660f95
WL#3935 Improve mysqltest report and exitcode for diff
...
- Move the code to generate test report to the test tool(in this
case mysqltest) where the best control of what failed is
- Simplify the code in mysql-test-run.pl
- mysqltest will now find what diff to use in a best effort attempt
using "diff -u", "diff -c" and finally dumping the two files verbatim
in the report.
2007-08-03 13:12:53 +02:00
dkatz@damien-katzs-computer.local
d2e45f205c
Minor fixes for test failures and compiler warnings for Bug #29579 .
2007-07-13 00:45:54 -04:00
msvensson@pilot.(none)
b8eee54d0b
Merge bk-internal:/home/bk/mysql-5.0-maint
...
into pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
2007-06-19 11:34:54 +02:00
msvensson@pilot.(none)
6c22726ebd
Merge pilot.(none):/data/msvensson/mysql/wl3232/my41-wl3232
...
into pilot.(none):/data/msvensson/mysql/wl3232/my50-wl3232
2007-06-19 11:07:39 +02:00
msvensson@pilot.(none)
caebb719b2
WL#3232 mysqltest, enable --source $variables/<remaining_path_to_file>
...
- Add test case for this already existing feature
2007-06-19 11:06:02 +02:00
joerg@trift2.
d8c385c397
Merge trift2.:/MySQL/M50/mysql-5.0
...
into trift2.:/MySQL/M50/push-5.0
2007-06-06 20:06:59 +02:00
tsmith@quadxeon.mysql.com
502320ef05
Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/50
...
into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/jun05/50
2007-06-05 17:28:49 +02:00
joerg@trift2.
724307b7ab
Merge trift2.:/MySQL/M50/mysql-5.0
...
into trift2.:/MySQL/M50/push-5.0
2007-06-04 12:00:57 +02:00
kostja@bodhi.(none)
b9a3431048
Fix more mysqltest warnings.
2007-06-01 20:05:34 +04:00
kostja@bodhi.(none)
d97db648a0
Fix some mysqltest warnings.
2007-06-01 17:49:01 +04:00
msvensson@pilot.(none)
583a126660
Merge pilot.(none):/data/msvensson/mysql/bug28373/my50-bug28373
...
into pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
2007-06-01 15:43:04 +02:00
msvensson@pilot.(none)
91170035d9
Turn query_logging back on to avoid sideeffects in folloing test section
2007-06-01 12:38:41 +02:00
msvensson@pilot.(none)
d43153f274
Merge pilot.(none):/data/msvensson/mysql/bug28497/my41-bug28497-query_get_value
...
into pilot.(none):/data/msvensson/mysql/bug28497/my50-bug28497
2007-06-01 12:04:05 +02:00
msvensson@pilot.(none)
09c5c03cb2
Bug#28497 wait_for_slave_to_stop can cause random replication mysql-test failures
...
- Add funtion "query_get_value to allow reading a fields value
into a $variable
2007-06-01 12:01:42 +02:00
msvensson@pilot.(none)
42deaca611
Bug#28373 mysqltest test case fails with binlog disabled
...
- Update tests to be independent how the mysqld was started
2007-05-31 15:58:22 +02:00
df@pippilotta.erinye.com
82dc913640
Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build-work
...
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build-work-nn
2007-05-31 10:09:34 +02:00
df@pippilotta.erinye.com
779a055ed0
some test cases cannot run with --skip-log-bin
2007-05-31 09:34:24 +02:00
msvensson@pilot.blaudden
c3f407a07a
Merge pilot.blaudden:/home/msvensson/mysql/mysql-4.1-maint
...
into pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint
2007-05-18 12:56:52 +02:00
msvensson@pilot.blaudden
e05aa94353
WL#2247 mysqltest: add option for sorting results
...
- Final touchups
2007-05-18 12:50:23 +02:00
msvensson@pilot.blaudden
d5676f2feb
WL#2247 mysqltest: add option for sorting results
...
- Change from "query_sorted <query>" to "sorted_results"
2007-05-16 17:19:36 +02:00