mirror of
https://github.com/opnsense/src.git
synced 2026-07-15 04:01:09 -04:00
This class wraps the pidfile_* API from libutil. The destructor calls pidfile_remove() when an object is destroyed. This class is similar to std::unique_ptr<> in that it retains exclusive ownership of the pidfh object. In addition to release and reset methods, write, close, and fileno methods are provided as wrappers for pidfile_*. Sponsored by: Chelsio Communications Pull Request: https://github.com/freebsd/freebsd-src/pull/1794
12 lines
202 B
Makefile
12 lines
202 B
Makefile
PACKAGE= tests
|
|
|
|
ATF_TESTS_CXX+= pidfile_test
|
|
ATF_TESTS_CXX+= stringf_test
|
|
ATF_TESTS_CXX+= up_test
|
|
|
|
CFLAGS+= -I${SRCTOP}/lib/libutil++
|
|
LIBADD+= util++
|
|
|
|
LIBADD.pidfile_test+= util
|
|
|
|
.include <bsd.test.mk>
|