diff options
author | sayantan dutta <sayantan.dutta@oracle.com> | 2014-02-24 18:44:37 +0530 |
---|---|---|
committer | Sayantan Dutta <sayantan.dutta@oracle.com> | 2015-08-05 15:22:57 +0530 |
commit | 1d317440d6be293f1a6f38bf72951eccac38be55 (patch) | |
tree | 2cd8526a6bd29f3e2218d36ef85707628a419d6f /mysql-test | |
parent | 67be190c0b7a803684eaffca53063f31fa8e1ddc (diff) | |
download | mariadb-git-1d317440d6be293f1a6f38bf72951eccac38be55.tar.gz |
Follow-up fix : Bug #18145121 - DEPRECATED PERL SYNTAX IN MTR
(cherry picked from commit 1bfe5f724bc4c24da635f632247e7d263aa53970)
Conflicts:
mysql-test/lib/mtr_cases.pm
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/lib/mtr_cases.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/lib/mtr_cases.pm b/mysql-test/lib/mtr_cases.pm index b3bc2a83b92..e8d24eb399f 100644 --- a/mysql-test/lib/mtr_cases.pm +++ b/mysql-test/lib/mtr_cases.pm @@ -1,5 +1,5 @@ # -*- cperl -*- -# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -336,7 +336,7 @@ sub collect_one_suite($) # Build a hash of disabled testcases for this suite # ---------------------------------------------------------------------- my %disabled; - my @disabled_collection= @{$opt_skip_test_list} if defined @{$opt_skip_test_list}; + my @disabled_collection= @{$opt_skip_test_list} if $opt_skip_test_list; unshift (@disabled_collection, "$testdir/disabled.def"); for my $skip (@disabled_collection) { |