test(wsl): restore fixture permissions before cleanup

This commit is contained in:
OrcaWin
2026-08-07 19:52:48 -07:00
parent eb95665fd6
commit 2c0128f84b
+1 -1
View File
@@ -53,7 +53,7 @@ exec /usr/bin/stat "$@"
afterAll(async () => {
if (/^\/tmp\/orca-wsl-root-race\.[A-Za-z0-9]+$/u.test(fixtureRoot)) {
await wsl('rm -rf -- "$1"', fixtureRoot)
await wsl('chmod -f 700 "$1/execute-only" 2>/dev/null; rm -rf -- "$1"', fixtureRoot)
}
})