Commit Graph

4 Commits

Author SHA1 Message Date
0af07f09b1 Merge pull request #4217 from Alpaca-exe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:12:27 -05:00
5948c690b8 tests: skip the hard-link cases where hard links are unavailable
Guard the remaining unguarded os.link() calls in test_awc_names.py, test_gamedata_graph.py, test_navmesh_decode.py, test_restofworld_index.py, test_rtti_scan.py, test_save_keys.py, test_swizzle_search.py, and test_tex_headers_report_paths.py with try/except (OSError, NotImplementedError) so only the hard-link subtest/check is skipped when hard links are unavailable and the rest of each test still runs.
2026-11-23 01:01:33 +01:00
a490bf2a55 tex_headers: prefilter the report path guard
An existing regular report with one link and a non-input basename cannot alias a scanned index.json or .bin stream. Skip the per-file realpath/samefile loop for it; missing paths, links, input-like names and symlinked inputs are still compared.
2026-11-22 20:08:50 +00:00
db188f6bfe tex_headers: refuse reports that alias a carve blob 2026-11-22 17:50:02 +00:00