Project

General

Profile

Actions

Bug #3403

closed

PrivilegeHelper unit tests fail on Fedora/CentOS due to missing group "nogroup"

Added by susmit shannigrahi over 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Core
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

Fedora and CentOS don't have "nogroup" by default. They use "nobody" user and "nobody" group.

Running 57 test cases...
../tests/core/privilege-helper.t.cpp(45): error in "DropRaise": exception thrown by PrivilegeHelper::initialize("nobody", "nogroup")
1452288247.361558 INFO: [PrivilegeHelper] dropped to effective uid=0 gid=0
../tests/core/privilege-helper.t.cpp(49): error in "DropRaise": check ::geteuid() != 0 failed [0 == 0]
1452288247.361627 INFO: [PrivilegeHelper] elevated to effective uid=0 gid=0
1452288247.361674 INFO: [PrivilegeHelper] dropped to effective uid=0 gid=0
1452288247.361716 INFO: [PrivilegeHelper] elevated to effective uid=0 gid=0
1452288247.361758 INFO: [PrivilegeHelper] dropped to effective uid=0 gid=0
../tests/core/privilege-helper.t.cpp(56): error in "DropRaise": check ::geteuid() != 0 failed [0 == 0]
1452288247.361812 INFO: [PrivilegeHelper] elevated to effective uid=0 gid=0
1452288248.050340 INFO: [VersionTest] NFD_VERSION 4000
1452288248.050605 INFO: [VersionTest] NFD_VERSION_STRING 0.4.0

*** 3 failures detected in test suite "NFD Core Tests"

Related issues 1 (0 open1 closed)

Blocks NFD - Task #4610: Make CentOS 7 an official (CI-tested) platformClosedMd Ashiqur Rahman

Actions
Actions

Also available in: Atom PDF