Fixed unit_tests/run.sh to start mariadb on ubuntu jammy

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2022-09-14 20:45:38 +02:00
parent c0cf5da34f
commit 85ccca9acb

View File

@ -15,7 +15,12 @@ export LD_LIBRARY_PATH=../src
pushd "$SCRIPT_DIR"
setup_mysql() {
if [[ "$DISTRO" == "jammy" ]]; then
service mariadb start
else
service mysql start
fi
mysql -u piler -ppiler123 piler1 < ../util/db-mysql.sql
}