diff options
| author | bitflash-maintainer <noreply@bitflash.invalid> | 2026-08-23 07:56:25 +0000 |
|---|---|---|
| committer | bitflash-maintainer <noreply@bitflash.invalid> | 2026-08-23 07:56:25 +0000 |
| commit | f95fe2db8f906cf5174b0ca63c8fbe36b16b2ece (patch) | |
| tree | 2fb148142c07b5be6f92b4739e00351254452120 /src/fuzz_script.cpp | |
| parent | cd4e86d431c3f5848183ca362175d1cb3edfa107 (diff) | |
selftest: leave no scratch directory behind after payout-ledger
LogPrint binds debug.log to whatever GetAppDir() resolves to the first time it
fires, which for this test is its own scratch data directory -- so removing
the files the test knew it had written was never going to empty the directory,
and `make tests` left one behind in src/ on every run.
Sweep the directory instead of naming its contents, and take the process id
the same way the other self-tests do rather than assuming getpid() exists on
every target.
Diffstat (limited to 'src/fuzz_script.cpp')
0 files changed, 0 insertions, 0 deletions