cli: expose riseupvpn (#171)

This commit is contained in:
cyBerta 2020-12-07 17:14:48 +01:00 committed by GitHub
parent a8070edc27
commit 9192ead36d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View File

@ -44,6 +44,7 @@ var All = map[string]Group{
Label: "Circumvention Tools",
Nettests: []Nettest{
Psiphon{},
RiseupVPN{},
Tor{},
},
UnattendedOK: true,

View File

@ -0,0 +1,17 @@
package nettests
// RiseupVPN test implementation
type RiseupVPN struct {
}
// Run starts the test
func (h RiseupVPN) Run(ctl *Controller) error {
builder, err := ctl.Session.NewExperimentBuilder(
"riseupvpn",
)
if err != nil {
return err
}
return ctl.Run(builder, []string{""})
}