install-fixup

This commit is contained in:
Jérôme Charaoui 2023-02-12 14:06:36 -05:00
parent 01311ad238
commit 167163788c
No known key found for this signature in database
GPG Key ID: 69C52F658E988542
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
load common load common
begin_mysql() { begin_mysql() {
install_pkgs install default-mysql-server install_pkgs default-mysql-server
systemctl is-active mysql || systemctl start mysql systemctl is-active mysql || systemctl start mysql
zcat "${BATS_TEST_DIRNAME}/samples/bntest_p8Cz8k.sql.gz" | mysql --defaults-file=/etc/mysql/debian.cnf zcat "${BATS_TEST_DIRNAME}/samples/bntest_p8Cz8k.sql.gz" | mysql --defaults-file=/etc/mysql/debian.cnf
zcat "${BATS_TEST_DIRNAME}/samples/bntest_v11vJj.sql.gz" | mysql --defaults-file=/etc/mysql/debian.cnf zcat "${BATS_TEST_DIRNAME}/samples/bntest_v11vJj.sql.gz" | mysql --defaults-file=/etc/mysql/debian.cnf

View File

@ -1,7 +1,7 @@
load common load common
begin_rdiff() { begin_rdiff() {
install_pkgs install debootstrap rdiff-backup cstream install_pkgs debootstrap rdiff-backup cstream
if [ ! -d /var/cache/bntest ]; then if [ ! -d /var/cache/bntest ]; then
debootstrap --variant=minbase testing /var/cache/bntest debootstrap --variant=minbase testing /var/cache/bntest
fi fi