From 1d2c39c3b9e46866161fe18f099d8ac5ab2a6425 Mon Sep 17 00:00:00 2001 From: Dan Kegel Date: Sun, 1 May 2022 21:36:38 -0700 Subject: [PATCH] os: skip TestDirFSPathsValid on WASI to work around #2828 on windows --- src/os/os_anyos_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/os/os_anyos_test.go b/src/os/os_anyos_test.go index 51e986fc..d8ac01c2 100644 --- a/src/os/os_anyos_test.go +++ b/src/os/os_anyos_test.go @@ -298,6 +298,10 @@ func TestDirFSPathsValid(t *testing.T) { t.Log("skipping on Windows") return } + if isWASI { + t.Log("skipping on wasi because it fails on wasi on windows") + return + } // TODO: switch back to t.TempDir once it's implemented d, err := MkdirTemp("", "TestDirFSPathsValid")