Skip to content

Commit f01abeb

Browse files
tklauserMaisem Ali
authored and
Maisem Ali
committed
ssh: skip unsupported tests on wasip1
Updates golang/go#32840 Updates golang/go#58141 Change-Id: Ib4425c1743d417920745205586af250dbf80c7e4 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/485695 Auto-Submit: Tobias Klauser <[email protected]> Reviewed-by: Bryan Mills <[email protected]> Run-TryBot: Tobias Klauser <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 496deca commit f01abeb

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

ssh/handshake_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -421,8 +421,8 @@ func TestHandshakeErrorHandlingWriteCoupled(t *testing.T) {
421421
// handshakeTransport deadlocks, the go runtime will detect it and
422422
// panic.
423423
func testHandshakeErrorHandlingN(t *testing.T, readLimit, writeLimit int, coupled bool) {
424-
if runtime.GOOS == "js" && runtime.GOARCH == "wasm" {
425-
t.Skip("skipping on js/wasm; see golang.org/issue/32840")
424+
if (runtime.GOOS == "js" || runtime.GOOS == "wasip1") && runtime.GOARCH == "wasm" {
425+
t.Skipf("skipping on %s/wasm; see golang.org/issue/32840", runtime.GOOS)
426426
}
427427
msg := Marshal(&serviceRequestMsg{strings.Repeat("x", int(minRekeyThreshold)/4)})
428428

ssh/test/dial_unix_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build !windows && !solaris && !js
6-
// +build !windows,!solaris,!js
5+
//go:build !windows && !solaris && !js && !wasip1
6+
// +build !windows,!solaris,!js,!wasip1
77

88
package test
99

ssh/test/session_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build !windows && !solaris && !js
6-
// +build !windows,!solaris,!js
5+
//go:build !windows && !solaris && !js && !wasip1
6+
// +build !windows,!solaris,!js,!wasip1
77

88
package test
99

0 commit comments

Comments
 (0)