# test: resolve the Windows temp directory to its long name · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/5032af7a8437942c058182d017f5884641e5f8c4)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 5032af7a8437942c058182d017f5884641e5f8c4

Requested commit: 5032af7a8437942c058182d017f5884641e5f8c4

Commit: 5032af7a8437942c058182d017f5884641e5f8c4

Tree: 2532fa12aab7dda81f451d398ba4f1cb8564c26b

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
test: resolve the Windows temp directory to its long name

GitHub's Windows runners set TEMP to the 8.3 short form
(C:\Users\RUNNER~1\...), and every path that goes through git or realpath
comes back in the long form, so equality checks between a temp directory and
its canonical form fail. A shared setup file, run by every package's vitest
config, points TEMP/TMP at the long form once so os.tmpdir() and everything
built on it agree with the canonical spelling.

bootstrap.test opens the platform null device instead of /dev/null and skips
the FIFO case, since Windows has neither.

Co-Authored-By: Claude Code <noreply@anthropic.com>

```

## Parents

- [81701181474409b87d8050f2836f60bcd152d3cd](https://git.cafe/pingdotgg/t3code/commit/81701181474409b87d8050f2836f60bcd152d3cd?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/5032af7a8437942c058182d017f5884641e5f8c4?format=markdown)
