summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorKent Boortz <kent.boortz@oracle.com>2012-04-23 12:52:14 +0200
committerKent Boortz <kent.boortz@oracle.com>2012-04-23 12:52:14 +0200
commit9927a07bc1fd8de3fc936a1615e17db9b885daca (patch)
tree4420a0a291a1576b1aa680041577d6d8462f3316 /mysql-test/mysql-test-run.pl
parent611d9610791a3318c0648ccc43b43e5172f55606 (diff)
downloadmariadb-git-9927a07bc1fd8de3fc936a1615e17db9b885daca.tar.gz
Allow Windows absolute paths in N:\ formatfor the --vardir option
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl2
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";