Skip to content

Commit 7efac81

Browse files
author
Anushree Prakash B
committed
Bug#25522709 - MAIN.MYSQLHOTCOPY_ARCHIVE AND
MAIN.MYSQLHOTCOPY_MYISAM TESTS FAILING IN PB2 IN 5.6 DESCRIPTION: ============ main.mysqlhotcopy_archive and main.mysqlhotcopy_myisam tests are failing in PB2 weekly-5.6 on the freebsd platforms. ANALYSIS: ======== This is caused by an explicit shebang in checkDBI_DBD-mysql.pl and in mysqlhotcopy.sh using #!/usr/bin/perl which is not correct on a standard install of FreeBSD 11. This results in a failure of the script execution. FIX: ==== The fix is to use a portable shebang -> #!/usr/bin/env perl instead of #!/usr/bin/perl.
1 parent 29acdaa commit 7efac81

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mysql-test/std_data/checkDBI_DBD-mysql.pl

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22

3-
# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
3+
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
44
#
55
# This program is free software; you can redistribute it and/or
66
# modify it under the terms of the GNU Library General Public

scripts/mysqlhotcopy.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22

3-
# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
3+
# Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
44
#
55
# This program is free software; you can redistribute it and/or
66
# modify it under the terms of the GNU Library General Public

0 commit comments

Comments
 (0)