Commit 998f987e authored by Kristian Nielsen's avatar Kristian Nielsen

Upstream MIPS test fixes from Debian Bug 838557.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838557

MIPS has a different errno for "directory not empty".
parent 4dfb6a3f
...@@ -52,7 +52,7 @@ eval SELECT 'hello' INTO OUTFILE 'fake_file.$prefix'; ...@@ -52,7 +52,7 @@ eval SELECT 'hello' INTO OUTFILE 'fake_file.$prefix';
# Use '/' instead of '\' in the error message. On windows platform, dir is # Use '/' instead of '\' in the error message. On windows platform, dir is
# formed with '\'. # formed with '\'.
--replace_regex /\\testing_1\\*/\/testing_1\// /66/39/ /17/39/ /247/39/ /File exists/Directory not empty/ --replace_regex /\\testing_1\\*/\/testing_1\// /66/39/ /93/39/ /17/39/ /247/39/ /File exists/Directory not empty/
--error 1010 --error 1010
DROP DATABASE testing_1; DROP DATABASE testing_1;
let $wait_binlog_event= DROP TABLE IF EXIST; let $wait_binlog_event= DROP TABLE IF EXIST;
......
...@@ -13,7 +13,7 @@ insert into mysqltest1.t1 values (1); ...@@ -13,7 +13,7 @@ insert into mysqltest1.t1 values (1);
select * from mysqltest1.t1 into outfile 'mysqltest1/f1.txt'; select * from mysqltest1.t1 into outfile 'mysqltest1/f1.txt';
create table mysqltest1.t2 (n int); create table mysqltest1.t2 (n int);
create table mysqltest1.t3 (n int); create table mysqltest1.t3 (n int);
--replace_result \\ / 66 39 17 39 247 39 "File exists" "Directory not empty" --replace_result \\ / 66 39 93 39 17 39 247 39 "File exists" "Directory not empty"
--error 1010 --error 1010
drop database mysqltest1; drop database mysqltest1;
use mysqltest1; use mysqltest1;
...@@ -30,7 +30,7 @@ while ($1) ...@@ -30,7 +30,7 @@ while ($1)
} }
--enable_query_log --enable_query_log
--replace_result \\ / 66 39 17 39 247 39 "File exists" "Directory not empty" --replace_result \\ / 66 39 93 39 17 39 247 39 "File exists" "Directory not empty"
--error 1010 --error 1010
drop database mysqltest1; drop database mysqltest1;
use mysqltest1; use mysqltest1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment