Files
Mehdi Amini 91b6c73a4f [unittest] Use TempDir() in gtest death-test stream capture on Linux (#194142)
gtest's CapturedStream on Linux hardcoded /tmp/ for its temp file
without consulting the environment, causing failures in sandboxed
environments where /tmp is read-only. Use TempDir() instead, which
checks TEST_TMPDIR then TMPDIR and falls back to /tmp/, matching the
behavior already present on Android and macOS/iOS.

See also upstream PR: https://github.com/google/googletest/pull/4962

Assisted-by: Claude Code
2026-04-28 21:36:07 +02:00
..