Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 2019 21:32:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        testing@freebsd.org
Subject:   [Bug 236863] Add a REQUIRE_FEATURE(security_capability) for sys/capsicum/ioctls_test
Message-ID:  <bug-236863-32464@https.bugs.freebsd.org/bugzilla/>

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

            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@freebsd.org
          Reporter: olivier@freebsd.org

Created attachment 203225
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D203225&action=
=3Dedit
patch to require capsicum feature for a test

On a system without capsicum, ioctls_test:cap_ioctls__listen_copy test fail=
ed
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) =3D=3D 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 featu=
re
(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)

--=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-236863-32464>