diff options
author | unknown <msvensson@pilot.mysql.com> | 2008-03-26 07:22:42 +0100 |
---|---|---|
committer | unknown <msvensson@pilot.mysql.com> | 2008-03-26 07:22:42 +0100 |
commit | bd025736107e715f40c9c3e7b9884c7337e72417 (patch) | |
tree | 47a04a0e1240027756234831e3d3131aaa31de68 | |
parent | 9cf83298334ca9a89052e409fb6df2065a8fc203 (diff) | |
download | mariadb-git-bd025736107e715f40c9c3e7b9884c7337e72417.tar.gz |
After merge fixes
mysql-test/include/commit.inc:
Adjust path
Add missing drop tables
mysql-test/mysql-test-run.pl:
Remove duplicate printout
mysql-test/lib/mtr_report.pm:
Only print each test that has failed once
mysql-test/r/commit_1innodb.result:
Adjust path
Add missing drop table
mysql-test/suite/binlog/r/binlog_multi_engine.result:
Remove merge error - extra s
mysql-test/suite/binlog/r/binlog_unsafe.result:
Remove drop of non existing view
mysql-test/suite/binlog/t/binlog_unsafe.test:
Remove drop of non existing view
-rw-r--r-- | mysql-test/include/commit.inc | 4 | ||||
-rw-r--r-- | mysql-test/lib/mtr_report.pm | 7 | ||||
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 2 | ||||
-rw-r--r-- | mysql-test/r/commit_1innodb.result | 4 | ||||
-rw-r--r-- | mysql-test/suite/binlog/r/binlog_multi_engine.result | 2 | ||||
-rw-r--r-- | mysql-test/suite/binlog/r/binlog_unsafe.result | 1 | ||||
-rw-r--r-- | mysql-test/suite/binlog/t/binlog_unsafe.test | 1 |
7 files changed, 10 insertions, 11 deletions
diff --git a/mysql-test/include/commit.inc b/mysql-test/include/commit.inc index 38c123295fb..0e6c13f9a4a 100644 --- a/mysql-test/include/commit.inc +++ b/mysql-test/include/commit.inc @@ -267,7 +267,7 @@ select * from t2; insert into t2 (a) values (1026); --replace_result $MYSQLTEST_VARDIR .. --error ER_DUP_ENTRY -eval load data infile "../std_data_ln/words.dat" into table t1 (a) set a:=f2(26); +eval load data infile "../../std_data/words.dat" into table t1 (a) set a:=f2(26); select * from t2; rollback; @@ -740,6 +740,6 @@ call p_verify_status_increment(0, 0, 0, 0); --echo # --echo # Cleanup --echo # -drop table t1; +drop table t1, t2, t3; drop procedure p_verify_status_increment; drop function f1; diff --git a/mysql-test/lib/mtr_report.pm b/mysql-test/lib/mtr_report.pm index 47b21665283..bbde54abbf9 100644 --- a/mysql-test/lib/mtr_report.pm +++ b/mysql-test/lib/mtr_report.pm @@ -455,11 +455,14 @@ sub mtr_report_stats ($) { # that can be copy pasted to rerun only failing tests print "Failing test(s):"; + my %seen= (); foreach my $tinfo (@$tests) { - if ( $tinfo->{'result'} eq 'MTR_RES_FAILED' ) + my $tname= $tinfo->{'name'}; + if ( $tinfo->{'result'} eq 'MTR_RES_FAILED' and ! $seen{$tname}) { - print " $tinfo->{'name'}"; + print " $tname"; + $seen{$tname}= 1; } } print "\n\n"; diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index b221b28f12d..78d51abccec 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -221,8 +221,6 @@ sub main { gcov_prepare(); } - mtr_report("Collecting tests..."); - if (!$opt_suites) { $opt_suites= $DEFAULT_SUITES; diff --git a/mysql-test/r/commit_1innodb.result b/mysql-test/r/commit_1innodb.result index 76eee3874d6..f9be8c2b519 100644 --- a/mysql-test/r/commit_1innodb.result +++ b/mysql-test/r/commit_1innodb.result @@ -263,7 +263,7 @@ rollback; select * from t2; a insert into t2 (a) values (1026); -load data infile "../std_data_ln/words.dat" into table t1 (a) set a:=f2(26); +load data infile "../../std_data/words.dat" into table t1 (a) set a:=f2(26); ERROR 23000: Duplicate entry '26' for key 'a' select * from t2; a @@ -879,6 +879,6 @@ SUCCESS # # Cleanup # -drop table t1; +drop table t1, t2, t3; drop procedure p_verify_status_increment; drop function f1; diff --git a/mysql-test/suite/binlog/r/binlog_multi_engine.result b/mysql-test/suite/binlog/r/binlog_multi_engine.result index 728d6a96e5c..5fe0c93487e 100644 --- a/mysql-test/suite/binlog/r/binlog_multi_engine.result +++ b/mysql-test/suite/binlog/r/binlog_multi_engine.result @@ -37,7 +37,7 @@ mysqld-bin.000001 # Query # # use `test`; TRUNCATE t1b mysqld-bin.000001 # Query # # use `test`; TRUNCATE t1n RESET MASTER; SET SESSION BINLOG_FORMAT=MIXED; -INSERTs INTO t1b VALUES (1,1), (1,2), (2,1), (2,2); +INSERT INTO t1b VALUES (1,1), (1,2), (2,1), (2,2); INSERT INTO t1m VALUES (1,1), (1,2), (2,1), (2,2); INSERT INTO t1n VALUES (1,1), (1,2), (2,1), (2,2); UPDATE t1m, t1b SET m = 2, b = 3 WHERE n = c; diff --git a/mysql-test/suite/binlog/r/binlog_unsafe.result b/mysql-test/suite/binlog/r/binlog_unsafe.result index b507bb08a06..e7c0702af46 100644 --- a/mysql-test/suite/binlog/r/binlog_unsafe.result +++ b/mysql-test/suite/binlog/r/binlog_unsafe.result @@ -192,4 +192,3 @@ DROP PROCEDURE proc4; DROP FUNCTION func5; DROP PREPARE prep6; DROP TABLE t1, t2, t3, trigger_table, trigger_table2; -DROP VIEW v1; diff --git a/mysql-test/suite/binlog/t/binlog_unsafe.test b/mysql-test/suite/binlog/t/binlog_unsafe.test index a8b373f65b7..f57ab668c58 100644 --- a/mysql-test/suite/binlog/t/binlog_unsafe.test +++ b/mysql-test/suite/binlog/t/binlog_unsafe.test @@ -236,4 +236,3 @@ DROP PROCEDURE proc4; DROP FUNCTION func5; DROP PREPARE prep6; DROP TABLE t1, t2, t3, trigger_table, trigger_table2; -DROP VIEW v1; |