Commit 8a8ef795 authored by Richard Braakman's avatar Richard Braakman

[tests] Install tests as privileged

The tests need to be able to affect the privileged contacts.db
in order to test aggregation and contact management.
parent 5f768447
......@@ -58,3 +58,8 @@ make %{?_smp_mflags}
rm -rf %{buildroot}
%qmake5_install
%post tests
for n in tst_aggregation tst_qcontactmanager ; do
pathname=/opt/tests/qtcontacts-sqlite-qt5/$n
chgrp privileged $pathname && chmod g+s $pathname
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment