Actions
Bug #3064
closedCompilation error in general-config-section.t.cpp when dropping privileges is not supported
Start date:
07/19/2015
Due date:
% Done:
100%
Estimated time:
1.00 h
Description
Steps to reproduce:
./waf configure --with-tests --debug --without-pch
- modify
build/config.hpp
, comment out#define HAVE_PRIVILEGE_DROP_AND_ELEVATE 1
line to simulate a platform that does not support dropping privileges ./waf
Build error:
../tests/daemon/mgmt/general-config-section.t.cpp: In destructor ‘nfd::general::tests::GeneralConfigSectionFixture::~GeneralConfigSectionFixture()’:
../tests/daemon/mgmt/general-config-section.t.cpp:43:5: error: ‘s_normalUid’ is not a member of ‘nfd::PrivilegeHelper’
../tests/daemon/mgmt/general-config-section.t.cpp:44:5: error: ‘s_normalGid’ is not a member of ‘nfd::PrivilegeHelper’
Actions