Skip to content

Commit 91bcaee

Browse files
author
Horst
committed
Bug #19826667: Fixed tidle issue.
1 parent f665270 commit 91bcaee

File tree

1 file changed

+20
-17
lines changed

1 file changed

+20
-17
lines changed

mysql-test/lib/mtr_cases_from_list.pm

+20-17
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
# -*- cperl -*-
2-
# # Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
3-
# #
4-
# # This program is free software; you can redistribute it and/or modify
5-
# # it under the terms of the GNU General Public License as published by
6-
# # the Free Software Foundation; version 2 of the License.
7-
# #
8-
# # This program is distributed in the hope that it will be useful,
9-
# # but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
# # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-
# # GNU General Public License for more details.
12-
# #
13-
# # You should have received a copy of the GNU General Public License
14-
# # along with this program; if not, write to the Free Software
15-
# # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2+
# Copyright (c) 2005, 2013, 2014, Oracle and/or its affiliates. All rights reserved.
3+
#
4+
# This program is free software; you can redistribute it and/or modify
5+
# it under the terms of the GNU General Public License as published by
6+
# the Free Software Foundation; version 2 of the License.
167
#
17-
# # This is a library file used by the Perl version of mysql-test-run,
18-
# # and is part of the translation of the Bourne shell script with the
19-
# # same name.
8+
# This program is distributed in the hope that it will be useful,
9+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
# GNU General Public License for more details.
2012
#
13+
# You should have received a copy of the GNU General Public License
14+
# along with this program; if not, write to the Free Software
15+
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16+
#
17+
# This is a library file used by the Perl version of mysql-test-run,
18+
# and is part of the translation of the Bourne shell script with the
19+
# same name.
20+
2121
package mtr_cases_from_list;
2222
use strict;
2323
use mtr_report;
@@ -36,6 +36,9 @@ sub collect_test_cases_from_list ($$$$) {
3636
my $opt_do_test_list= shift;
3737
my $opt_ctest= shift;
3838
my $ret= 0;
39+
if ($opt_do_test_list ne "") {
40+
$opt_do_test_list=~ s/^\~\//$ENV{HOME}\//;
41+
}
3942
open(FILE, "<", $opt_do_test_list) or $ret= 1;
4043
if ($ret) {
4144
mtr_report("Cannot open \"$opt_do_test_list\".");

0 commit comments

Comments
 (0)