test(context): use t.TempDir() for SaveUploadedFile permission test on WSL (#4709)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* fix: change file creation to use c.Temp instead to work on wsl * test(context): use t.TempDir() in SaveUploadedFile failure test for WSL Mirror the WSL-portability fix applied to TestSaveUploadedFileWithPermission: write under t.TempDir() instead of a relative path so the test does not depend on the working directory's filesystem (drvfs reports 0o777 on WSL) and is cleaned up automatically. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> ---------
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diff stats
1 file+6 added−7 removed
- other:+6 added−7 removed