mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
14 lines
553 B
Diff
14 lines
553 B
Diff
diff --git a/src/net/dial_test.go b/src/net/dial_test.go
|
|
index 01582489de..5b5faa5424 100644
|
|
--- a/src/net/dial_test.go
|
|
+++ b/src/net/dial_test.go
|
|
@@ -990,6 +990,8 @@ func TestDialerControl(t *testing.T) {
|
|
// except that it won't skip testing on non-mobile builders.
|
|
func mustHaveExternalNetwork(t *testing.T) {
|
|
t.Helper()
|
|
+ t.Skipf("Nix sandbox does not have networking")
|
|
+
|
|
mobile := runtime.GOOS == "android" || runtime.GOOS == "darwin" && runtime.GOARCH == "arm64"
|
|
if testenv.Builder() == "" || mobile {
|
|
testenv.MustHaveExternalNetwork(t)
|