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

Function main

cli/test/run-human-mode.c:86–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86int main(int argc UNUSED, char *argv[])
87{
88 common_setup(argv[0]);
89
90 char *fake_argv[] = { argv[0], "--lightning-dir=/tmp/", "-H", "listconfigs", "-N", "none", NULL };
91
92 response_off = 0;
93 max_read_return = -1;
94 assert(test_main(6, fake_argv) == 0);
95 assert(!taken_any());
96 common_shutdown();
97 return 0;
98}

Callers

nothing calls this directly

Calls 3

common_setupFunction · 0.85
taken_anyFunction · 0.85
common_shutdownFunction · 0.85

Tested by

no test coverage detected