]> Cypherpunks repositories - gostls13.git/commit
internal/testenv, syscall: move isNotSupported to internal/testenv
authorTobias Klauser <tklauser@distanz.ch>
Wed, 15 Mar 2023 14:16:45 +0000 (15:16 +0100)
committerGopher Robot <gobot@golang.org>
Wed, 15 Mar 2023 15:38:24 +0000 (15:38 +0000)
commite64e000f5561a37cbfae1e9e48d516d93934c91b
tree78b6655489e092b55b7e0c8b8c7bec436536e4bc
parent778f27105773ae48b2ec87126cf811c19f012700
internal/testenv, syscall: move isNotSupported to internal/testenv

This allows to use this helper function in packages other than syscall,
namely package net.

For #58114

Change-Id: I72c59ab013e9195801ff1315019ae1aef4396287
Reviewed-on: https://go-review.googlesource.com/c/go/+/476216
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/internal/testenv/testenv.go
src/internal/testenv/testenv_notunix.go
src/internal/testenv/testenv_unix.go
src/syscall/exec_linux_test.go