--- libgo/go/os/exec/exec_test.go.orig 2020-03-04 19:30:03.000000000 +1100 +++ libgo/go/os/exec/exec_test.go 2020-09-08 13:03:20.305778000 +1000 @@ -676,7 +676,7 @@ // Determine which command to use to display open files. ofcmd := "lsof" switch runtime.GOOS { - case "dragonfly", "freebsd", "netbsd", "openbsd": + case "bsdsunix", "dragonfly", "freebsd", "netbsd", "openbsd": ofcmd = "fstat" case "plan9": ofcmd = "/bin/cat"