]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Update capsicum-test to git commit f4d97414d48b8f8356b971ab9f45dc5c70d53c40
authorAlex Richardson <arichardson@FreeBSD.org>
Tue, 2 Mar 2021 16:28:26 +0000 (16:28 +0000)
committerAlex Richardson <arichardson@FreeBSD.org>
Tue, 2 Mar 2021 16:38:05 +0000 (16:38 +0000)
commit955a3f9ad586f38395e66127f9f2f4afbf3d5a94
treecffd956c4e9af63152f5630d78ba116c026e6376
parent0401989282d1bb9972ae2bf4862c2c6c92ae5f27
parentc59f30a57b509d88ab47e5cf2e1509fdc8a2749c
Update capsicum-test to git commit f4d97414d48b8f8356b971ab9f45dc5c70d53c40

This includes various fixes that I submitted recently such as updating the
pdkill() tests for the actual implemented behaviour
(https://github.com/google/capsicum-test/pull/53) and lots of changes to
avoid calling sleep() and replacing it with reliable synchronization
(pull requests 49,51,52,53,54). This should make the testsuite more reliable
when running on Jenkins. Additionally, process status is now retrieved using
libprocstat instead of running `ps` and parsing the output
(https://github.com/google/capsicum-test/pull/50). This fixes one previously
failing test and speeds up execution.

Overall, this update reduces the total runtime from ~60s to about 4-5 seconds.
contrib/capsicum-test/GNUmakefile
contrib/capsicum-test/capability-fd.cc
contrib/capsicum-test/capmode.cc
contrib/capsicum-test/capsicum-test.cc
contrib/capsicum-test/capsicum-test.h
contrib/capsicum-test/makefile
contrib/capsicum-test/openat.cc
contrib/capsicum-test/procdesc.cc
contrib/capsicum-test/socket.cc
tests/sys/capsicum/Makefile