--- libgo/go/runtime/numcpu_bsdsunix_test.go.orig 2020-03-04 19:30:03.000000000 +1100 +++ libgo/go/runtime/numcpu_bsdsunix_test.go 2020-09-22 00:15:02.433291000 +1000 @@ -0,0 +1,15 @@ +// Copyright 2017 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package runtime_test + +import "testing" + +func TestBSDSUniXNumCPU(t *testing.T) { + got := runTestProg(t, "testprog", "BSDSUniXNumCPU") + want := "OK\n" + if got != want { + t.Fatalf("expected %q, but got:\n%s", want, got) + } +}