mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-06-10 16:47:14 +00:00
These tests wrote to a hardcoded "/tmp/" path which does not exist on Windows, causing the file write to silently fail and the subsequent make_file_body / make_file_provider call to return zero-sized data. Use a relative path under the test working directory instead so the test runs identically on every platform. Also dump the shard log when a shard's process exits non-zero even when the gtest summary appears clean (e.g. sanitizer report after the suite, or assertion-based abort) — previously such failures were detected only via overall rc and showed no diagnostic output. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
11 KiB
11 KiB