a01f901e13
Reference issue: https://github.com/ooni/probe/issues/1917. I needed to change the summary key type returned by `torsf` to be a value. It seems the DB layer assumes that. If we pass it a pointer, it panics because it's experiment a value rather than a pointer 🤷.
15 lines
270 B
Go
15 lines
270 B
Go
package nettests
|
|
|
|
// TorSf test implementation
|
|
type TorSf struct {
|
|
}
|
|
|
|
// Run starts the test
|
|
func (h TorSf) Run(ctl *Controller) error {
|
|
builder, err := ctl.Session.NewExperimentBuilder("torsf")
|
|
if err != nil {
|
|
return err
|
|
}
|
|
return ctl.Run(builder, []string{""})
|
|
}
|