mirror of
https://github.com/containers/podman.git
synced 2025-05-20 08:36:23 +08:00

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>
16 lines
294 B
Go
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
|
|
}
|