diff options
author | Kent Boortz <kent.boortz@oracle.com> | 2012-04-23 12:52:14 +0200 |
---|---|---|
committer | Kent Boortz <kent.boortz@oracle.com> | 2012-04-23 12:52:14 +0200 |
commit | 678f221cb9ac3ba18b70568077d8979adb1ac44c (patch) | |
tree | 4420a0a291a1576b1aa680041577d6d8462f3316 /mysql-test/mysql-test-run.pl | |
parent | d8ac252f0e3778a5fddaeeefaa1dd48192c8d287 (diff) | |
download | mariadb-git-678f221cb9ac3ba18b70568077d8979adb1ac44c.tar.gz |
Allow Windows absolute paths in N:\ formatfor the --vardir option
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 43734d04286..927a2ebfa91 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -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"; |