diff options
| author | Bob Arnson <bob@firegiant.com> | 2025-06-11 22:37:39 -0400 |
|---|---|---|
| committer | Bob Arnson <bob@firegiant.com> | 2025-06-11 22:46:10 -0400 |
| commit | 09209f98a2951a56c0bd6ac0100a0d6eeb02e3d7 (patch) | |
| tree | 585b9df56e9bf1c3e213e35605c9fc6522268260 /src/ext/Http/test | |
| parent | ccf2b7bf8b60dbb4ece85167ff1f1c6564fc5b6c (diff) | |
| download | wix-bob/PayloadsHarvesting.tar.gz wix-bob/PayloadsHarvesting.tar.bz2 wix-bob/PayloadsHarvesting.zip | |
Fix unit tests to account for Actions runners:bob/PayloadsHarvesting
- Handle extra-long paths being normalized to either \\?\\ and "normal."
- Rewrite PathGetTempPathTest test because it's not a good test:
- By overwriting `TMP` with an extra-long path, it causes
`::GetTempPath[2]W` to fall back to the value of `TEMP` instead.
- But that's testing `::GetTempPath[2]W`, not `PathGetTempPath`.
- It also assumes `TMP` and `TEMP` are set typically.
- It also assumes it's not running as LocalSystem.
- Instead, just compare the values you get from `::GetTempPathW` and
`PathGetTempPath`.
Fixes https://github.com/wixtoolset/issues/issues/9087
Diffstat (limited to 'src/ext/Http/test')
0 files changed, 0 insertions, 0 deletions
