Commit 8347e1ea authored by Alexander Nozdrin's avatar Alexander Nozdrin

Skip perfschema.misc if "var" is a symlink (due to Bug 51447).

mysql-test/include/not_var_link.inc:
  Committed on behalf of Bjorn.
parent 03768a2f
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment