Loader tests: take the Windows folder from the environment (port of upstream #1950) #1329
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!1329
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1329"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@CwWwWwW on GitHub · 2026-11-26 15:37 UTC · original
CwWwWwW:port/fixture-windows-root→main· +15 −13 · 3 files · 1 commits · closed without mergingProblem
The kernel lookup test, the no-DLL-planting test and the loader fixture tests copy a real DLL from a hardcoded C:\Windows\System32 path. On a host whose Windows folder is not on C: (another drive, a custom install) the tests fail for a reason unrelated to the code under test, and the Windows runner is only one example of a host where C:\Windows is not guaranteed.
Upstream VIctory fixed this in commit e308f08 (pull request #1950, by prism); this is that fix ported to the fork.
Change
Tests
(CI note: the check job on main is currently red on the asset-policy violation; #1322 fixes that, after which this can be rebased.)
Pull request closed