Project

General

Profile

Actions

Feature #13143

closed

libc test suite should pass cleanly with unprivileged user

Added by Robert Mustacchi about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
tests
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Due to various tests (all ironically written by me), the libc test suite cannot run as an unprivileged user and cleanly pass. These are tests that use privileged features due to things like memory locking, priority changes, and DTrace. The run file should just indicate that these require a privileged user.

Actions #1

Updated by Electric Monk about 1 year ago

  • Gerrit CR set to 921
Actions #2

Updated by Robert Mustacchi about 1 year ago

To test this I ran the libc test suite as an unprivileged user and with pfexec. Tests that used to fail as an unprivileged user are skipped or run depending on sudo configuration. Otherwise, the various tests all pass.

Actions #3

Updated by Electric Monk about 1 year ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100

git commit 8837b1d0891b79dc11ae1199ea4a100f3f17c7b1

commit  8837b1d0891b79dc11ae1199ea4a100f3f17c7b1
Author: Robert Mustacchi <rm@fingolfin.org>
Date:   2020-09-14T00:07:15.000Z

    13143 libc test suite should pass cleanly with unprivileged user
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Joshua M. Clulow <josh@sysmgr.org>

Actions

Also available in: Atom PDF