Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mysql-extras:master commit in: /
Date: Wed, 29 Jul 2015 18:46:17
Message-Id: 1438195760.15411faa29239bfb13a6f6760afd331663d4899e.grknight@gentoo
1 commit: 15411faa29239bfb13a6f6760afd331663d4899e
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 29 18:49:20 2015 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 29 18:49:20 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/mysql-extras.git/commit/?id=15411faa
7
8 Fix deprecated perl array defined syntax for test suite in 5.5
9
10 00000_index.txt | 6 ++++++
11 20019_all_mysql-5.5-mtr-perl-deprecation.patch | 24 ++++++++++++++++++++++++
12 2 files changed, 30 insertions(+)
13
14 diff --git a/00000_index.txt b/00000_index.txt
15 index 64dbfb3..ac9894a 100644
16 --- a/00000_index.txt
17 +++ b/00000_index.txt
18 @@ -1942,3 +1942,9 @@
19 @ver 5.06.25.00 to 5.06.99.99
20 @pn percona-server
21 @@ Split building of client libraries, server and client tools
22 +
23 +@patch 20019_all_mysql-5.5-mtr-perl-deprecation.patch
24 +@ver 5.05.45.00 to 5.05.99.99
25 +@pn mysql
26 +@@ Fix deprecated perl array defined syntax on mtr test script
27 +@@ Ported forward from mysql 5.6; Oracle bug 18145121
28
29 diff --git a/20019_all_mysql-5.5-mtr-perl-deprecation.patch b/20019_all_mysql-5.5-mtr-perl-deprecation.patch
30 new file mode 100644
31 index 0000000..de8434c
32 --- /dev/null
33 +++ b/20019_all_mysql-5.5-mtr-perl-deprecation.patch
34 @@ -0,0 +1,24 @@
35 +diff -aurN a/mysql-test/lib/mtr_cases.pm b/mysql-test/lib/mtr_cases.pm
36 +--- a/mysql-test/lib/mtr_cases.pm 2015-06-25 09:44:36.000000000 -0400
37 ++++ b/mysql-test/lib/mtr_cases.pm 2015-07-29 14:44:05.964091000 -0400
38 +@@ -336,7 +336,7 @@
39 + # Build a hash of disabled testcases for this suite
40 + # ----------------------------------------------------------------------
41 + my %disabled;
42 +- my @disabled_collection= @{$opt_skip_test_list} if defined @{$opt_skip_test_list};
43 ++ my @disabled_collection= @{$opt_skip_test_list} if $opt_skip_test_list;
44 + unshift (@disabled_collection, "$testdir/disabled.def");
45 + for my $skip (@disabled_collection)
46 + {
47 +diff -aurN a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
48 +--- a/mysql-test/mysql-test-run.pl 2015-06-25 09:44:36.000000000 -0400
49 ++++ b/mysql-test/mysql-test-run.pl 2015-07-29 14:34:54.796091000 -0400
50 +@@ -490,7 +490,7 @@
51 + }
52 + }
53 +
54 +- if ( not defined @$completed ) {
55 ++ if ( not @$completed ) {
56 + mtr_error("Test suite aborted");
57 + }
58 +