Actions
Bug #3632
closedTest setup error in TestPrivilegeHelper step
Start date:
05/25/2016
Due date:
% Done:
100%
Estimated time:
1.00 h
Description
On a system where privilege drop/elevation is not supported, CI script fails with the following error:
+ sudo ./build/unit-tests-core -t TestPrivilegeHelper -l all -- --log_format2=XML --log_sink2=build/xunit-core-sudo-report.xml
Test setup error: no test cases matching filter
TestPriviledgeHelper
test suite is enclosed in #ifdef HAVE_PRIVILEGE_DROP_AND_ELEVATE
, which is not defined when privilege drop/elevation is not supported.
In this case, CI script should skip this step, or otherwise catch this "test setup error" and not fail.
Actions