]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Import capsicum-test into ^/vendor/google/capsicum-test/dist
authorEnji Cooper <ngie@FreeBSD.org>
Tue, 12 Mar 2019 01:43:01 +0000 (01:43 +0000)
committerEnji Cooper <ngie@FreeBSD.org>
Tue, 12 Mar 2019 01:43:01 +0000 (01:43 +0000)
commite5a5dd6cc488f19e182ad3f694957389e4a7d40a
treedd55863b2c3d3e4a1521acbd751384d128160957
Import capsicum-test into ^/vendor/google/capsicum-test/dist

The following change imports google/capsicum-test@9333154 from GitHub, omitting
the embedded version of googletest, as well as the incomplete libcasper.

This test suite helps verify capsicum(3) support via functional tests
written in the GoogleTest test framework.

Kernel support for capsicum(4) is tested by side-effect of testing
capsicum(3).

NB: as discussed in a previous [closed] PR [1], the casper(3) tests are
incomplete/buggy and will not pass on FreeBSD. Thus, I have no intention of
integrating them into the build/test on FreeBSD as-is.

The import command used was:
```
curl -L https://github.com/google/capsicum-test/tarball/9333154 | tar --strip-components=1 -xvzf - -C dist/
rm -Rf dist/*/
```

1. https://github.com/google/capsicum-test/pull/26

Reviewed by: emaste (mentor)
Differential Revision: https://reviews.freebsd.org/D19261
34 files changed:
.gitignore [new file with mode: 0644]
CONTRIBUTING.md [new file with mode: 0644]
GNUmakefile [new file with mode: 0644]
LICENSE [new file with mode: 0644]
README.md [new file with mode: 0644]
capability-fd-pair.cc [new file with mode: 0644]
capability-fd.cc [new file with mode: 0644]
capmode.cc [new file with mode: 0644]
capsicum-freebsd.h [new file with mode: 0644]
capsicum-linux.h [new file with mode: 0644]
capsicum-rights.h [new file with mode: 0644]
capsicum-test-main.cc [new file with mode: 0644]
capsicum-test.cc [new file with mode: 0644]
capsicum-test.h [new file with mode: 0644]
capsicum.h [new file with mode: 0644]
fcntl.cc [new file with mode: 0644]
fexecve.cc [new file with mode: 0644]
ioctl.cc [new file with mode: 0644]
linux.cc [new file with mode: 0644]
makefile [new file with mode: 0644]
mini-me.c [new file with mode: 0644]
mqueue.cc [new file with mode: 0644]
openat.cc [new file with mode: 0644]
overhead.cc [new file with mode: 0644]
procdesc.cc [new file with mode: 0644]
rename.cc [new file with mode: 0644]
sctp.cc [new file with mode: 0644]
select.cc [new file with mode: 0644]
showrights [new file with mode: 0755]
smoketest.c [new file with mode: 0644]
socket.cc [new file with mode: 0644]
syscalls.h [new file with mode: 0644]
sysctl.cc [new file with mode: 0644]
waittest.c [new file with mode: 0644]