Review Request 128916: kconfig: Make test XFAIL when running as root
Evgeniy Sadovnik
red0ct at yandex.ru
Thu Sep 29 19:41:03 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128916/
-----------------------------------------------------------
(Updated Sept. 29, 2016, 3:41 p.m.)
Status
------
This change has been marked as submitted.
Review request for KDE Frameworks and Gleb Popov.
Changes
-------
Submitted with commit a68dbef08a070772449edb2ae7ea1849568162b7 by Gleb Popov on behalf of Evgeniy Sadovnik to branch master.
Repository: kconfig
Description
-------
The test checks that saving a read-only config file fails. But because root can write into read-only files, the test is failing when running by root.
Check for uid when running the test and make it XFAIL if we are running as root.
Diffs
-----
autotests/kconfigtest.cpp 2b905b5
Diff: https://git.reviewboard.kde.org/r/128916/diff/
Testing
-------
Thanks,
Evgeniy Sadovnik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160929/b5d65b31/attachment.html>
More information about the Kde-frameworks-devel
mailing list