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
|
|
@ -8,7 +8,7 @@ import (
|
|||
func TestGood(t *testing.T) {
|
||||
var expected bool
|
||||
switch Name() {
|
||||
case "android", "freebsd", "ios", "linux", "macos", "windows":
|
||||
case "android", "freebsd", "openbsd", "ios", "linux", "macos", "windows":
|
||||
expected = true
|
||||
}
|
||||
if !expected {
|
||||
|
|
@ -26,6 +26,9 @@ func TestName(t *testing.T) {
|
|||
}, {
|
||||
expected: "freebsd",
|
||||
goos: "freebsd",
|
||||
}, {
|
||||
expected: "openbsd",
|
||||
goos: "openbsd",
|
||||
}, {
|
||||
expected: "ios",
|
||||
goos: "ios",
|
||||
|
|
|
|||
Loading…
Reference in a new issue