Opened 9 years ago

Closed 6 years ago

#1098 closed defect (wontfix)

AuthCommandTest.loadUnreadableZone succeeds when run as root

Reported by: shane Owned by:
Priority: low Milestone: DNS Outstanding Tasks
Component: b10-auth Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: Low
Sub-Project: DNS Feature Depending on Ticket:
Estimated Difficulty: 0.0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no


I had the following test fail:

 [ RUN      ] AuthCommandTest.loadUnreadableZone Failure
Value of: rcode
  Actual: 0
Expected: expected_code
Which is: 1
[  FAILED  ] AuthCommandTest.loadUnreadableZone (25 ms)

This happens if the tests run as root, because the test creates a file with 000 permissions, which root can read anyway.

Jinmei suggests just giving a non-existent file may be a better way that doesn't depend on any particular permissions.


Change History (3)

comment:1 Changed 9 years ago by shane

  • Milestone changed from New Tasks to Year 3 Task Backlog

comment:2 Changed 6 years ago by stephen

  • Milestone set to DNS Outstanding Tasks

comment:3 Changed 6 years ago by tomek

  • Resolution set to wontfix
  • Status changed from new to closed

DNS and BIND10 framework is outside of scope for Kea project.
The corresponding code has been removed from Kea git repository.
If you want to follow up on DNS or former BIND10 issues, see project.

Closing ticket.

Note: See TracTickets for help on using tickets.