Skip to content

Commit

Permalink
Allow Windows absolute paths in N:\ formatfor the --vardir option
Browse files Browse the repository at this point in the history
  • Loading branch information
kboortz committed Apr 23, 2012
1 parent 611d961 commit 9927a07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysql-test/mysql-test-run.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1442,7 +1442,7 @@ sub command_line_setup {

# We make the path absolute, as the server will do a chdir() before usage
unless ( $opt_vardir =~ m,^/, or
(IS_WINDOWS and $opt_vardir =~ m,^[a-z]:/,i) )
(IS_WINDOWS and $opt_vardir =~ m,^[a-z]:[/\\],i) )
{
# Make absolute path, relative test dir
$opt_vardir= "$glob_mysql_test_dir/$opt_vardir";
Expand Down

0 comments on commit 9927a07

Please sign in to comment.