feat: add support for OpenBSD (#703)
Closes https://github.com/ooni/probe/issues/2052
This commit is contained in:
parent
74e31d5cc1
commit
07f8db9dc2
5 changed files with 310 additions and 4 deletions
|
|
@ -173,7 +173,7 @@ var Specs = []*ErrorSpec{
|
|||
// of the related golang.org/x/sys/$name library.
|
||||
func mapSystemToLibrary(system string) string {
|
||||
switch system {
|
||||
case "darwin", "freebsd", "linux":
|
||||
case "darwin", "freebsd", "openbsd", "linux":
|
||||
return "unix"
|
||||
case "windows":
|
||||
return "windows"
|
||||
|
|
@ -364,6 +364,7 @@ func writeSystemSpecificTestFile(system string) {
|
|||
var SupportedSystems = []string{
|
||||
"darwin",
|
||||
"freebsd",
|
||||
"openbsd",
|
||||
"linux",
|
||||
"windows",
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue