diff options
| author | bobcatchris <83428450+bobcatchris@users.noreply.github.com> | 2026-11-22 19:22:20 -0600 |
|---|---|---|
| committer | bobcatchris <83428450+bobcatchris@users.noreply.github.com> | 2026-11-22 19:22:20 -0600 |
| commit | 329375d5a60cf396c6aa69b9f2d1eed2eec46b6d (patch) | |
| tree | ce99d539c8322ac2fa32bf4fca5985a6c0757bba /runtime/src | |
| parent | df4dca098087169e6b66d7a95ab959ea902fa90f (diff) | |
gamedata_xml: exercise the unlistable folder on a real filesystem
The mocked walk test only shows that main's tool never receives onerror. This
adds a POSIX-only test that makes an empty sub-folder mode 000 and runs the scan
as an unprivileged user, so the listing really fails: on WSL2 Ubuntu as nobody
(uid 65534) it fails on main's tool (exit 0, expected 2) and passes with the fix
(13 tests OK). Windows skips it, since a mode change cannot make a folder
unlistable there. Synthetic XML only, no game files.
AI-assisted.
Diffstat (limited to 'runtime/src')
0 files changed, 0 insertions, 0 deletions