]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Extend the libcap_sysctl tests.
authormarkj <markj@FreeBSD.org>
Mon, 13 May 2019 17:53:03 +0000 (17:53 +0000)
committermarkj <markj@FreeBSD.org>
Mon, 13 May 2019 17:53:03 +0000 (17:53 +0000)
commit8ba0e8d5a47bc045398390b79a11ab7e862a2ab4
treec453874371eb4ca2bcd3231929fc5a3cdb46b756
parent61f609d74d42df1f934870ecfabb3cd189771cd6
Extend the libcap_sysctl tests.

- Add some coverage for cap_sysctl(3).
- Add a test for the case where the caller wishes to find the sysctl
  output length without specifying an output buffer.

Reviewed by: oshogbo
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D17856
lib/libcasper/services/cap_sysctl/tests/sysctl_test.c