* Test that pidfile_open() fails when attempting to open a pidfile that * is already locked, and that it returns the correct PID. */
| 241 | * is already locked, and that it returns the correct PID. |
| 242 | */ |
| 243 | static const char * |
| 244 | test_pidfile_contested(void) |
| 245 | { |
| 246 | const char *fn = "test_pidfile_contested"; |
| 247 | const char *result; |
| 248 | |
| 249 | result = common_test_pidfile_child(fn, 0); |
| 250 | return (result); |
| 251 | } |
| 252 | |
| 253 | /* |
| 254 | * Test that the pidfile lock is inherited. |
nothing calls this directly
no test coverage detected