Commit 1cd0d4ab authored by chriadam's avatar chriadam

[qtcontacts-sqlite] Don't use sticky bit for unit tests

This commit ensures that the unit tests are run in privileged mode
with blts-tools instead of installed with the sticky bit set.
parent df20a883
......@@ -2,5 +2,6 @@ TEMPLATE = subdirs
src \
OTHER_FILES += rpm/qtcontacts-sqlite-qt5.spec
tests.depends = src
......@@ -59,8 +59,3 @@ make %{?_smp_mflags}
rm -rf %{buildroot}
%post tests
for n in tst_aggregation tst_qcontactmanager ; do
chgrp privileged $pathname && chmod g+s $pathname
......@@ -6,11 +6,11 @@
<description>Backend correctness automatic tests</description>
<case manual="false" name="aggregation">
<step>/usr/sbin/run-blts-root /bin/su -g privileged -c 'rm -rf /home/nemo/.local/share/system/privileged/Contacts/qtcontacts-sqlite-test' nemo</step>
<step>/usr/sbin/run-blts-root /bin/su -g privileged -c '/opt/tests/qtcontacts-sqlite-qt5/tst_aggregation' nemo</step>
<case manual="false" name="contactmanager">
<step>/usr/sbin/run-blts-root /bin/su -g privileged -c 'rm -rf /home/nemo/.local/share/system/privileged/Contacts/qtcontacts-sqlite-test' nemo</step>
<step>/usr/sbin/run-blts-root /bin/su -g privileged -c '/opt/tests/qtcontacts-sqlite-qt5/tst_qcontactmanager' nemo</step>
<case manual="false" name="contactmanagerfiltering">
<step>rm -rf /home/nemo/.local/share/system/Contacts/qtcontacts-sqlite-test</step>
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