Project

General

Profile

Actions

Bug #3064

closed

Compilation error in general-config-section.t.cpp when dropping privileges is not supported

Added by Junxiao Shi over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Build
Target version:
Start date:
07/19/2015
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

Steps to reproduce:

  1. ./waf configure --with-tests --debug --without-pch
  2. modify build/config.hpp, comment out #define HAVE_PRIVILEGE_DROP_AND_ELEVATE 1 line to simulate a platform that does not support dropping privileges
  3. ./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’

Related issues 2 (0 open2 closed)

Related to NFD - Bug #2521: MgmtGeneralConfigSection test suite doesn't perform cleanupClosedAlex Afanasyev02/13/2015

Actions
Related to NFD - Bug #2447: MgmtGeneralConfigSection test suite: fails when dropping privileges is not supportedClosedAlex Afanasyev01/29/2015

Actions
Actions

Also available in: Atom PDF