Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 2019 20:46:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        testing@freebsd.org
Subject:   [Bug 236857] Fix sysctl check for some sys/audit/process-control tests
Message-ID:  <bug-236857-32464-yhy3VcCnVY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236857-32464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236857-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236857

Olivier Cochard <olivier@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #203217|0                           |1
        is obsolete|                            |
 Attachment #203222|0                           |1
        is obsolete|                            |

--- Comment #4 from Olivier Cochard <olivier@freebsd.org> ---
Created attachment 203223
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D203223&action=
=3Dedit
patch to skip tests if kernel build without CAPABILITIES

Thanks for the tips!
The code a lot's cleaner now and the error message too:

# kyua test sys/audit/process-control:cap_enter_success
sys/audit/process-control:cap_enter_success  ->  skipped: kernel feature
(security_capability_mode) not present  [0.003s]

Results file id is usr_tests.20190328-204336-320096
Results saved to /root/.kyua/store/results.usr_tests.20190328-204336-320096=
.db

1/1 passed (0 failed)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236857-32464-yhy3VcCnVY>