(n)
| 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) |