mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 08:30:12 +01:00
Fixed unit_tests/run.sh to start mariadb on ubuntu jammy
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
c0cf5da34f
commit
85ccca9acb
@ -15,7 +15,12 @@ export LD_LIBRARY_PATH=../src
|
|||||||
pushd "$SCRIPT_DIR"
|
pushd "$SCRIPT_DIR"
|
||||||
|
|
||||||
setup_mysql() {
|
setup_mysql() {
|
||||||
|
if [[ "$DISTRO" == "jammy" ]]; then
|
||||||
|
service mariadb start
|
||||||
|
else
|
||||||
service mysql start
|
service mysql start
|
||||||
|
fi
|
||||||
|
|
||||||
mysql -u piler -ppiler123 piler1 < ../util/db-mysql.sql
|
mysql -u piler -ppiler123 piler1 < ../util/db-mysql.sql
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user