upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorbitflash-maintainer <noreply@bitflash.invalid>2026-08-23 07:56:25 +0000
committerbitflash-maintainer <noreply@bitflash.invalid>2026-08-23 07:56:25 +0000
commitf95fe2db8f906cf5174b0ca63c8fbe36b16b2ece (patch)
tree2fb148142c07b5be6f92b4739e00351254452120 /src/main.cpp
parentcd4e86d431c3f5848183ca362175d1cb3edfa107 (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/main.cpp')
0 files changed, 0 insertions, 0 deletions