Lines Matching refs:fn
62 const char *fn = "test_pidfile_uncontested";
66 unlink(fn);
67 pf = pidfile_open(fn, 0600, &other);
74 unlink(fn);
78 unlink(fn);
88 const char *fn = "test_pidfile_self";
93 unlink(fn);
94 pf1 = pidfile_open(fn, 0600, &other);
102 unlink(fn);
106 pf2 = pidfile_open(fn, 0600, &other);
110 unlink(fn);
115 unlink(fn);
119 unlink(fn);
127 common_test_pidfile_child(const char *fn, int parent_open)
134 unlink(fn);
139 pf = pidfile_open(fn, 0600, &other);
154 pf = pidfile_open(fn, 0600, &other);
163 unlink(fn);
183 unlink(fn);
190 pf = pidfile_open(fn, 0600, &other);
193 unlink(fn);
199 unlink(fn);
205 unlink(fn);
212 unlink(fn);
233 const char *fn = "test_pidfile_contested";
236 result = common_test_pidfile_child(fn, 0);
246 const char *fn = "test_pidfile_inherited";
249 result = common_test_pidfile_child(fn, 1);