MCPcopy Create free account
hub / github.com/F-Stack/f-stack / test_pidfile_inherited

Function test_pidfile_inherited

tools/libutil/tests/pidfile_test.c:256–264  ·  view source on GitHub ↗

* Test that the pidfile lock is inherited. */

Source from the content-addressed store, hash-verified

254 * Test that the pidfile lock is inherited.
255 */
256static const char *
257test_pidfile_inherited(void)
258{
259 const char *fn = "test_pidfile_inherited";
260 const char *result;
261
262 result = common_test_pidfile_child(fn, 1);
263 return (result);
264}
265
266/*
267 * Make sure we handle relative pidfile paths correctly.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected