aboutsummaryrefslogtreecommitdiff
path: root/pkg/machine/e2e/config_basic_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-07-22 12:51:49 +0200
committerGitHub <noreply@github.com>2022-07-22 12:51:49 +0200
commit9bba3cffc08ba7cdf83af98f0b08510d8f4e0ac6 (patch)
tree06234d7baf93999a58f052add1ffeacbf454c508 /pkg/machine/e2e/config_basic_test.go
parent1f357892521e6b5f8b9dd877b54b2cf9be96b826 (diff)
parent88b57dd9f1cb56c65e2ccce9979ce7e89c20a855 (diff)
downloadpodman-9bba3cffc08ba7cdf83af98f0b08510d8f4e0ac6.tar.gz
podman-9bba3cffc08ba7cdf83af98f0b08510d8f4e0ac6.tar.bz2
podman-9bba3cffc08ba7cdf83af98f0b08510d8f4e0ac6.zip
Merge pull request #15010 from Luap99/machine-e2e
enable linter for pkg/machine/e2e
Diffstat (limited to 'pkg/machine/e2e/config_basic_test.go')
-rw-r--r--pkg/machine/e2e/config_basic_test.go18
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
+}