upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/compactblock.cpp
diff options
context:
space:
mode:
authorbitflash <dev@bitflash.network>2026-08-19 11:34:12 -0300
committerbitflash <dev@bitflash.network>2026-08-19 11:34:12 -0300
commit0cdcaee550093707b92827e7457ef33c1bf70fb5 (patch)
tree113ec9ece886ff02fb24d3c7fcf838e9d6376456 /src/compactblock.cpp
parente5a0a8fb8c83323ebd4fce88b84ae1b9f4570edc (diff)
selftest: unwrap system() exit status on Linux (RunBitflashChild)
The Linux branch of the child-process helper returned system()s raw wait status instead of the exit code, so an exit code of 2 read back as 512. Every assertion that checks a specific code (== 2), like the locked recovery-audit test, failed only on Linux while the node itself was correct. Windows was unaffected (_spawnv returns the code directly). Unwrap with WIFEXITED/WEXITSTATUS so both platforms return the same value. Test harness only; no change to node behavior.
Diffstat (limited to 'src/compactblock.cpp')
0 files changed, 0 insertions, 0 deletions