diff --git a/ssh/handshake_test.go b/ssh/handshake_test.go index 3d0ab5044c..f190cbfa91 100644 --- a/ssh/handshake_test.go +++ b/ssh/handshake_test.go @@ -421,8 +421,8 @@ func TestHandshakeErrorHandlingWriteCoupled(t *testing.T) { // handshakeTransport deadlocks, the go runtime will detect it and // panic. func testHandshakeErrorHandlingN(t *testing.T, readLimit, writeLimit int, coupled bool) { - if runtime.GOOS == "js" && runtime.GOARCH == "wasm" { - t.Skip("skipping on js/wasm; see golang.org/issue/32840") + if (runtime.GOOS == "js" || runtime.GOOS == "wasip1") && runtime.GOARCH == "wasm" { + t.Skipf("skipping on %s/wasm; see golang.org/issue/32840", runtime.GOOS) } msg := Marshal(&serviceRequestMsg{strings.Repeat("x", int(minRekeyThreshold)/4)}) diff --git a/ssh/test/dial_unix_test.go b/ssh/test/dial_unix_test.go index 2dca0e6117..6d5a735485 100644 --- a/ssh/test/dial_unix_test.go +++ b/ssh/test/dial_unix_test.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build !windows && !solaris && !js -// +build !windows,!solaris,!js +//go:build !windows && !solaris && !js && !wasip1 +// +build !windows,!solaris,!js,!wasip1 package test diff --git a/ssh/test/session_test.go b/ssh/test/session_test.go index f88c3b7abc..2d3276993b 100644 --- a/ssh/test/session_test.go +++ b/ssh/test/session_test.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build !windows && !solaris && !js -// +build !windows,!solaris,!js +//go:build !windows && !solaris && !js && !wasip1 +// +build !windows,!solaris,!js,!wasip1 package test