diff options
Diffstat (limited to 'pkg/machine/e2e/config_basic_test.go')
-rw-r--r-- | pkg/machine/e2e/config_basic_test.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkg/machine/e2e/config_basic_test.go b/pkg/machine/e2e/config_basic_test.go new file mode 100644 index 000000000..d1cb24174 --- /dev/null +++ b/pkg/machine/e2e/config_basic_test.go @@ -0,0 +1,18 @@ +package e2e_test + +type basicMachine struct { + args []string +} + +func (s basicMachine) buildCmd(m *machineTestBuilder) []string { + cmd := []string{"-r"} + if len(s.args) > 0 { + cmd = append(cmd, s.args...) + } + return cmd +} + +func (s *basicMachine) withPodmanCommand(args []string) *basicMachine { + s.args = args + return s +} |