mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
Revert "dev-db/mariadb-connector-c: pass --no-defaults to mysqladmin too"
This reverts commit 5064816639.
This doesn't work. Serves me right for a speculative fix.
Bug: https://bugs.gentoo.org/942287
Closes: https://bugs.gentoo.org/947756
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -109,7 +109,7 @@ multilib_src_test() {
|
||||
mysqld --no-defaults --datadir="${T}/mysql/data" --socket="${T}/mysql/mysql.sock" --skip-grant-tables --skip-networking &
|
||||
|
||||
local attempts=0
|
||||
while ! mysqladmin ping --no-defaults --socket="${T}/mysql/mysql.sock" --silent ; do
|
||||
while ! mysqladmin ping --socket="${T}/mysql/mysql.sock" --silent ; do
|
||||
# 5 minutes should be more than enough
|
||||
if [[ ${attempts} -gt 300 ]] ; then
|
||||
die "mysqld not found after 300 seconds, aborting"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -108,15 +108,8 @@ multilib_src_test() {
|
||||
mysql_install_db --no-defaults --datadir="${T}/mysql/data" || die
|
||||
mysqld --no-defaults --datadir="${T}/mysql/data" --socket="${T}/mysql/mysql.sock" --skip-grant-tables --skip-networking &
|
||||
|
||||
local attempts=0
|
||||
while ! mysqladmin ping --no-defaults --socket="${T}/mysql/mysql.sock" --silent ; do
|
||||
# 5 minutes should be more than enough
|
||||
if [[ ${attempts} -gt 300 ]] ; then
|
||||
die "mysqld not found after 300 seconds, aborting"
|
||||
fi
|
||||
|
||||
while ! mysqladmin ping --socket="${T}/mysql/mysql.sock" --silent ; do
|
||||
sleep 1
|
||||
attempts=$((attempts + 1))
|
||||
done
|
||||
|
||||
cd unittest/libmariadb || die
|
||||
|
||||
Reference in New Issue
Block a user