Commit f65d6a03 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

workaround for a test failure on windows (by serg)

parent 9b7afd41
Windows bug: happens when a new line is exactly at the right offset
The following options may be given as the first argument: The following options may be given as the first argument:
--print-defaults Print the program argument list and exit. --print-defaults Print the program argument list and exit.
--no-defaults Don't read default options from any option file. --no-defaults Don't read default options from any option file.
......
...@@ -42,6 +42,7 @@ perl; ...@@ -42,6 +42,7 @@ perl;
$re2=join('|', @plugins); $re2=join('|', @plugins);
$skip=0; $skip=0;
open(F, '<', "$ENV{MYSQL_TMP_DIR}/mysqld--help.txt") or die; open(F, '<', "$ENV{MYSQL_TMP_DIR}/mysqld--help.txt") or die;
print "Windows bug: happens when a new line is exactly at the right offset\n";
while (<F>) { while (<F>) {
next if 1../The following groups are read/; next if 1../The following groups are read/;
# formatting, skip line consisting entirely of dashes and blanks # formatting, skip line consisting entirely of dashes and blanks
......
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