diff options
| author | wavehs <156133648+wavehs@users.noreply.github.com> | 2026-11-24 02:01:08 +0200 |
|---|---|---|
| committer | wavehs <156133648+wavehs@users.noreply.github.com> | 2026-11-24 03:28:52 +0200 |
| commit | 1fa09754c37ea6c5f703ede4dea2bae4c26acb2c (patch) | |
| tree | 26a298f7e85e977169f12a7d9b15e20b20ae40dd /runtime/src/pe_loader.cpp | |
| parent | 30daa6958bd08d4df402cdd0cb6d021ef072cd9d (diff) | |
tests: awc_manifest refuses a read-only manifest before it stages one
82b87bdd3 opens the destination for writing first, to keep the direct
writer's permission check, and only then stages the report. The test
still expected the old path (stage, inherit 0444, fail in replace_retry,
chmod 0600, unlink) and asserted that chmod happened, so it failed once
the pre-open raises PermissionError: on POSIX and Windows alike nothing
is staged.
Split it: a read-only manifest is refused with the previous report and
the directory unchanged, and a writable manifest whose replace_retry
fails still leaves no staging file.
(cherry picked from commit 2ccc600642cfd4f8252051a46c7cc8e2d7723820)
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions