mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
4592af2e84
Let us skip the recently added test main.mysql-interactive if an instrumented ncurses library is not available. In InnoDB, let us work around an uninstrumented libnuma, by declaring that the objects returned by numa_get_mems_allowed() are initialized.
31 lines
703 B
Text
31 lines
703 B
Text
--echo #
|
|
--echo # regression introduced by MDEV-14448
|
|
--echo #
|
|
source include/not_embedded.inc;
|
|
source include/not_windows.inc;
|
|
# this would need an instrumented ncurses library
|
|
source include/not_msan.inc;
|
|
|
|
error 0,1;
|
|
exec $MYSQL -V|grep -q readline;
|
|
if ($sys_errno == 1)
|
|
{
|
|
# strangely enough
|
|
skip does not work with libedit;
|
|
}
|
|
|
|
write_file $MYSQL_TMP_DIR/mysql_in;
|
|
delimiter $
|
|
select 1;
|
|
$
|
|
EOF
|
|
let TERM=dumb;
|
|
replace_regex /id is \d+/id is X/ /Server version: .*/Server version: Y/ / \(\d+\.\d+ sec\)//;
|
|
error 0,127;
|
|
exec socat EXEC:"$MYSQL",pty STDIO < $MYSQL_TMP_DIR/mysql_in;
|
|
if ($sys_errno == 127)
|
|
{
|
|
remove_file $MYSQL_TMP_DIR/mysql_in;
|
|
skip no socat;
|
|
}
|
|
remove_file $MYSQL_TMP_DIR/mysql_in;
|