Skip to content
Permalink
Browse files

workaround for a test failure on windows (by serg)

  • Loading branch information...
Vladislav Vaintroub
Vladislav Vaintroub committed Jun 22, 2017
1 parent 9b7afd4 commit f65d6a03f0870fbac0ce99bc948b28963e594ff3
Showing with 2 additions and 0 deletions.
  1. +1 −0 mysql-test/r/mysqld--help.result
  2. +1 −0 mysql-test/t/mysqld--help.test
@@ -1,3 +1,4 @@
Windows bug: happens when a new line is exactly at the right offset
The following options may be given as the first argument:
--print-defaults Print the program argument list and exit.
--no-defaults Don't read default options from any option file.
@@ -42,6 +42,7 @@ perl;
$re2=join('|', @plugins);
$skip=0;
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>) {
next if 1../The following groups are read/;
# formatting, skip line consisting entirely of dashes and blanks

0 comments on commit f65d6a0

Please sign in to comment.
You can’t perform that action at this time.