diff options
| author | neoisg8 <274920706+neoisg8@users.noreply.github.com> | 2026-11-24 04:04:22 +0530 |
|---|---|---|
| committer | Fin <fin@mace.law> | 2026-11-24 10:03:06 -0500 |
| commit | dc4c32ac9d6b8bcb2b3ff4d2ef1498296f27c830 (patch) | |
| tree | b4639676bcdeadc352553016527185c1dc39dbc1 /runtime/test/tiny_game_exit_code_test.cpp | |
| parent | 8f05e09e224656740e8a53f5047e1338d7a52588 (diff) | |
awc_shorts: refuse a catalog destination that aliases an input bank
ools/awc_shorts.py previously published <out>/shorts.csv without
checking whether the catalog path collided with an input bank. When
an input was named shorts.csv or exported into a directory of that
name, publishing the catalog replaced the source input file with CSV
output and exited 0.
Verify upfront using same_report_path() that <out>/shorts.csv does
not alias any input bank or bank export destination directory, refusing
the collision with error diagnostic and exit code 2 before creating
directories or exporting clips.
Add regression tests covering input bank and directory export collisions.
AI-assisted: yes.
(cherry picked from commit 2496beffe5b1ee52e9d470c8b9f73d59d8d9e0b8)
Diffstat (limited to 'runtime/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions