Skip to content

Commit 3816c41

Browse files
wzssyqacvicentiu
authored andcommitted
repair_symlink-5543 fails: ELOOP is 90
On mips, ELOOP is 90, instead of 40 or 20. So we need to replace_regex 90 to 20, too.
1 parent 85f1022 commit 3816c41

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mysql-test/t/repair_symlink-5543.test

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
eval create table t1 (a int) engine=myisam data directory='$MYSQL_TMP_DIR';
1010
insert t1 values (1);
1111
--system ln -s $MYSQL_TMP_DIR/foobar5543 $MYSQL_TMP_DIR/t1.TMD
12-
--echo # Some systems fail with errcode 40, when doing openat, while others
13-
--echo # don't have openat and fail with errcode 20.
14-
--replace_regex / '.*\/t1/ 'MYSQL_TMP_DIR\/t1/ /40/20/ /".*"/"<errmsg>"/
12+
--echo # Some systems fail with errcode 40, or 90 (MIPS) when doing openat,
13+
--echo # while others don't have openat and fail with errcode 20.
14+
--replace_regex / '.*\/t1/ 'MYSQL_TMP_DIR\/t1/ /[49]0/20/ /".*"/"<errmsg>"/
1515
repair table t1;
1616
drop table t1;
1717

1818
--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
1919
eval create table t2 (a int) engine=aria data directory='$MYSQL_TMP_DIR';
2020
insert t2 values (1);
2121
--system ln -s $MYSQL_TMP_DIR/foobar5543 $MYSQL_TMP_DIR/t2.TMD
22-
--replace_regex / '.*\/t2/ 'MYSQL_TMP_DIR\/t2/ /40/20/ /".*"/"<errmsg>"/
22+
--replace_regex / '.*\/t2/ 'MYSQL_TMP_DIR\/t2/ /[49]0/20/ /".*"/"<errmsg>"/
2323
repair table t2;
2424
drop table t2;
2525

0 commit comments

Comments
 (0)