diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 95968e1511e..60c9686bf0a 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -2503,7 +2503,8 @@ sub run_mysqltest ($) { { $cmdline_mysqlslap= "$exe_mysqlslap -uroot " . "--port=$master->[0]->{'path_myport'} " . - "--socket=$master->[0]->{'path_mysock'} --password="; + "--socket=$master->[0]->{'path_mysock'} --password= " . + "--lock-directory=$opt_tmpdir"; if ( $opt_debug ) { $cmdline_mysqlslap .=