diff options
| author | MoonEyes <14891700+MoonEyes@users.noreply.github.com> | 2026-12-01 23:35:10 +0100 |
|---|---|---|
| committer | MoonEyes <14891700+MoonEyes@users.noreply.github.com> | 2026-12-01 23:35:10 +0100 |
| commit | 7d05a02deacbe773f899c65984845ae4116d6263 (patch) | |
| tree | 60d84927ca76e092638ad46a0e1fe9f08c75bb71 /runtime/test/clzero_patch_test.cpp | |
| parent | 4671c9aee19625387aa8b0d5e7df27a872639385 (diff) | |
tests: make the published_mode fallback test check what it claims
The old assertion (S_IMODE(mode) == mode) passes for any 9-bit integer, even 0.
The test now mocks new_file_mode, checks the target's own directory is probed and
the sentinel is returned, and a second test checks an existing file keeps its mode.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/clzero_patch_test.cpp')
0 files changed, 0 insertions, 0 deletions