[Bug 236857] Fix sysctl check for some sys/audit/process-control tests
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Mar 28 20:46:56 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236857
Olivier Cochard <olivier at freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #203217|0 |1
is obsolete| |
Attachment #203222|0 |1
is obsolete| |
--- Comment #4 from Olivier Cochard <olivier at freebsd.org> ---
Created attachment 203223
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=203223&action=edit
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)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-testing
mailing list