test: keep host fixtures unambiguous on G: and T: (TEST-FS-HOST-DRIVE) #393

Merged
leonida/mandy
oddmaniv merged 1 commit from fix/test-fs-host-drive into main 2026-11-24 05:09:56 +00:00

Pull request successfully merged and closed

oddmaniv commented 2026-11-24 04:28:23 +00:00

Work item

TEST-FS-HOST-DRIVE
Claim: ubiquitarianism/leonida#14, comment 7122040973 (oddmaniv), continuing the original agent-account claim 7121770284.
Depends on: none.

Change

Keep the synthetic MoveFile and CopyFile host destinations inside the configured synthetic package root. Absolute paths on G: or T: outside the configured package/overlay roots are intentionally treated as console drive aliases. The previous root/host.txt and root/host_copy.txt fixtures therefore were not host paths when TEMP was on G:.

Only runtime/test/file_system_test.cpp changes: two fixture locations and explanatory comments. The move/copy return-value, error and content assertions are unchanged. No production shim behavior changes, skips or disabled checks.

Verification

Base: ece4ba5b31ebc6f345c8e29eae1261f2f780057a.
Native Windows, non-administrator account; MSVC 14.44.35207 compiler; isolated task build, target file_system_test, four compile jobs maximum. No GPU required or exercised by this test-only change.

  • Original current-main test, TEMP on the physical G: drive: exit 1; 489 checks, 3 failures.
  • Patched, TEMP on the physical G: drive: exit 0; 489 checks, 0 failures.
  • Patched, TEMP=Y:\ with temporary subst to the same physical temp directory: exit 0; 489 checks, 0 failures.
  • Negative control: restore original test source and rebuild: exit 1; the same 3/489 failures return.
  • Restore patch and rebuild: 489/489 checks pass for both G: and Y: spellings. Temporary drive mapping removed.
  • python -I scripts/check_no_game_data.py runtime/test/file_system_test.cpp: exit 0.
  • git diff --check: passed.

Independent Luna review found no blockers and verified fixture lifecycle, unchanged assertions, shim routing and recorded results. The reviewer inspected evidence rather than independently rerunning the Windows executable.

All files were synthetic fixtures created by the test. No retail package, shaders, assets or game-derived logs were used or uploaded. This was a targeted test-suite run, not a fresh full-runtime/GPU/semantic baseline.

AI-assisted: parent authored the minimal patch and executed deterministic verification; gpt-6-luna/openai-codex independently reviewed the code and saved evidence.

## Work item TEST-FS-HOST-DRIVE Claim: ubiquitarianism/leonida#14, comment 7122040973 (oddmaniv), continuing the original agent-account claim 7121770284. Depends on: none. ## Change Keep the synthetic MoveFile and CopyFile host destinations inside the configured synthetic package root. Absolute paths on G: or T: outside the configured package/overlay roots are intentionally treated as console drive aliases. The previous root/host.txt and root/host_copy.txt fixtures therefore were not host paths when TEMP was on G:. Only runtime/test/file_system_test.cpp changes: two fixture locations and explanatory comments. The move/copy return-value, error and content assertions are unchanged. No production shim behavior changes, skips or disabled checks. ## Verification Base: ece4ba5b31ebc6f345c8e29eae1261f2f780057a. Native Windows, non-administrator account; MSVC 14.44.35207 compiler; isolated task build, target file_system_test, four compile jobs maximum. No GPU required or exercised by this test-only change. - Original current-main test, TEMP on the physical G: drive: exit 1; 489 checks, 3 failures. - Patched, TEMP on the physical G: drive: exit 0; 489 checks, 0 failures. - Patched, TEMP=Y:\ with temporary subst to the same physical temp directory: exit 0; 489 checks, 0 failures. - Negative control: restore original test source and rebuild: exit 1; the same 3/489 failures return. - Restore patch and rebuild: 489/489 checks pass for both G: and Y: spellings. Temporary drive mapping removed. - python -I scripts/check_no_game_data.py runtime/test/file_system_test.cpp: exit 0. - git diff --check: passed. Independent Luna review found no blockers and verified fixture lifecycle, unchanged assertions, shim routing and recorded results. The reviewer inspected evidence rather than independently rerunning the Windows executable. All files were synthetic fixtures created by the test. No retail package, shaders, assets or game-derived logs were used or uploaded. This was a targeted test-suite run, not a fresh full-runtime/GPU/semantic baseline. AI-assisted: parent authored the minimal patch and executed deterministic verification; gpt-6-luna/openai-codex independently reviewed the code and saved evidence.
Sign in to join this conversation.
No description provided.