upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/gameinput_test.cpp
diff options
context:
space:
mode:
authorwavehs <156133648+wavehs@users.noreply.github.com>2026-11-24 02:01:08 +0200
committerwavehs <156133648+wavehs@users.noreply.github.com>2026-11-24 03:28:52 +0200
commit1fa09754c37ea6c5f703ede4dea2bae4c26acb2c (patch)
tree26a298f7e85e977169f12a7d9b15e20b20ae40dd /runtime/test/gameinput_test.cpp
parent30daa6958bd08d4df402cdd0cb6d021ef072cd9d (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/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions