MCPcopy Create free account
hub / github.com/ElementsProject/lightning / main

Function main

ccan/ccan/closefrom/test/run.c:178–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178int main(void)
179{
180 /* Limit closefrom. */
181 closefrom_limit(0);
182
183 /* This is how many tests you plan to run */
184 plan_tests(3);
185
186 ok1(pipe_close());
187 ok1(fork_close());
188 ok1(fork_communicate());
189
190 /* This exits depending on whether all tests passed */
191 return exit_status();
192}

Callers

nothing calls this directly

Calls 4

pipe_closeFunction · 0.85
fork_closeFunction · 0.85
fork_communicateFunction · 0.85
closefrom_limitFunction · 0.50

Tested by

no test coverage detected