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

Function has_crash_log

tests/test_misc.py:2050–2053  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

2048 broken_log=' lightningd: ')
2049
2050 def has_crash_log(n):
2051 files = os.listdir(os.path.join(n.daemon.lightning_dir, TEST_NETWORK))
2052 crashfiles = [f for f in files if 'crash.log' in f]
2053 return len(crashfiles) > 0
2054
2055 assert not has_crash_log(l1)
2056 l1.daemon.proc.send_signal(signal.SIGSEGV)

Callers 1

test_crashlogFunction · 0.85

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected