[Bug 236863] Add a REQUIRE_FEATURE(security_capability) for sys/capsicum/ioctls_test
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Mar 28 21:33:01 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236863
Bug ID: 236863
Summary: Add a REQUIRE_FEATURE(security_capability) for
sys/capsicum/ioctls_test
Product: Base System
Version: 12.0-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: tests
Assignee: testing at freebsd.org
Reporter: olivier at freebsd.org
Created attachment 203225
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=203225&action=edit
patch to require capsicum feature for a test
On a system without capsicum, ioctls_test:cap_ioctls__listen_copy test failed
and should be skipped:
Before the patch:
# kyua test sys/capsicum/ioctls_test
sys/capsicum/ioctls_test:cap_ioctls__listen_copy -> failed:
/var/jenkins/workspace/ocafirmware_build-master/FreeBSD/tests/sys/capsicum/io$
tls_test.c:94: cap_rights_limit(s[0], &rights) == 0 not met [0.003s]
Results file id is usr_tests.20190328-212133-379353
Results saved to /root/.kyua/store/results.usr_tests.20190328-212133-379353.db
0/1 passed (1 failed)
After the patch:
# kyua test sys/capsicum/ioctls_test
sys/capsicum/ioctls_test:cap_ioctls__listen_copy -> skipped: kernel feature
(security_capability) not present [0.003s]
Results file id is usr_tests.20190328-213129-974398
Results saved to /root/.kyua/store/results.usr_tests.20190328-213129-974398.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