mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Skip perfschema.misc if "var" is a symlink (due to Bug 51447).
mysql-test/include/not_var_link.inc: Committed on behalf of Bjorn.
This commit is contained in:
parent
03768a2fc5
commit
8347e1ea20
2 changed files with 14 additions and 0 deletions
13
mysql-test/include/not_var_link.inc
Normal file
13
mysql-test/include/not_var_link.inc
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
perl;
|
||||
open (ISLINK, ">" . $ENV{'MYSQL_TMP_DIR'} . "/mtr_var_link");
|
||||
my $mvr= -l $ENV{'MYSQLTEST_VARDIR'} ? 1 : 0;
|
||||
print ISLINK "let \$mtr_var_link= $mvr;\n";
|
||||
close ISLINK;
|
||||
EOF
|
||||
|
||||
--source $MYSQL_TMP_DIR/mtr_var_link
|
||||
--remove_file $MYSQL_TMP_DIR/mtr_var_link
|
||||
|
||||
if ($mtr_var_link) {
|
||||
--skip Test does not work with var being softlink
|
||||
}
|
||||
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
--source include/not_embedded.inc
|
||||
--source include/have_perfschema.inc
|
||||
--source include/not_var_link.inc
|
||||
|
||||
#
|
||||
# Bug#45496 Performance schema: assertion fails in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue