Files
podman/pkg/machine/e2e/config_stop_test.go
Paul Holzinger ee35ce86d0 enable linter for pkg/machine/e2e
Rename all files to _test.go and rename the package to e2e_test. This
makes the linter less strict about things like dot imports.

Add some unused nolint directives to silence some warnings, these can be
used to find untested options so someone could add tests for them.

Fixes #14996

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-07-21 18:04:10 +02:00

16 lines
294 B
Go

package e2e_test
type stopMachine struct {
/*
No command line args other than a machine vm name (also not required)
*/
}
func (s stopMachine) buildCmd(m *machineTestBuilder) []string {
cmd := []string{"machine", "stop"}
if len(m.name) > 0 {
cmd = append(cmd, m.name)
}
return cmd
}