mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 23:41:59 +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() {
|
||||||
service mysql start
|
if [[ "$DISTRO" == "jammy" ]]; then
|
||||||
|
service mariadb start
|
||||||
|
else
|
||||||
|
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