Skip the gotoolchain_net script test if any new-ish GOEXPERIMENT is
set, since it will fail under these circumstances.
Updates #62106.
Change-Id: Idfef8af7246a3fbe6481347872a94fe64bbaed7f
Reviewed-on: https://go-review.googlesource.com/c/go/+/519195
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
# This test only checks that basic network lookups work.
# The full test of toolchain version selection is in gotoolchain.txt.
+# This test is sensitive to "new" Go experiments, so
+# update the environment to remove any existing GOEXPERIMENT
+# setting, see #62016 for more on this.
+env GOEXPERIMENT=''
+
env TESTGO_VERSION=go1.21actual
# GOTOOLCHAIN from network, does not exist