Enable CTest in the %check phase

--

Related: #2092371 #2092370
This commit is contained in:
Michal Schorm 2022-02-20 15:15:14 +01:00
parent bf27698d4d
commit 0ddac9b92e
1 changed files with 5 additions and 0 deletions

View File

@ -105,6 +105,11 @@ sed -i 's;/usr/bin/garbd;/usr/sbin/garbd;g' %{buildroot}/usr/sbin/garb-systemd
## via the DynamicUser= service setting.
sed -i 's/User=nobody/User=garb/g' %{buildroot}/usr/lib/systemd/system/garbd.service
%check
%ctest
%pre
/usr/sbin/useradd -M -r -d /dev/null -s /sbin/nologin -c "Galera Arbitrator Daemon" garb >/dev/null 2>&1 || :