summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/e2e/libpod_suite_test.go2
-rw-r--r--test/e2e/push_test.go2
-rw-r--r--test/e2e/rmi_test.go2
-rw-r--r--test/e2e/search_test.go8
4 files changed, 7 insertions, 7 deletions
diff --git a/test/e2e/libpod_suite_test.go b/test/e2e/libpod_suite_test.go
index fa48334a3..170b24667 100644
--- a/test/e2e/libpod_suite_test.go
+++ b/test/e2e/libpod_suite_test.go
@@ -487,7 +487,7 @@ func (s *PodmanSession) LineInOuputStartsWith(term string) bool {
//LineInOutputContains returns true if a line in a
// session output starts with the supplied string
-func (s *PodmanSession) LineInOuputContains(term string) bool {
+func (s *PodmanSession) LineInOutputContains(term string) bool {
for _, i := range s.OutputToStringArray() {
if strings.Contains(i, term) {
return true
diff --git a/test/e2e/push_test.go b/test/e2e/push_test.go
index 5267a66a4..46ec4ccbd 100644
--- a/test/e2e/push_test.go
+++ b/test/e2e/push_test.go
@@ -154,7 +154,7 @@ var _ = Describe("Podman push", func() {
setup := podmanTest.SystemExec("bash", []string{"-c", "systemctl status docker 2>&1"})
setup.WaitWithDefaultTimeout()
- if setup.LineInOuputContains("Active: inactive") {
+ if setup.LineInOutputContains("Active: inactive") {
setup = podmanTest.SystemExec("systemctl", []string{"start", "docker"})
setup.WaitWithDefaultTimeout()
diff --git a/test/e2e/rmi_test.go b/test/e2e/rmi_test.go
index 67ccc1b95..43fe84157 100644
--- a/test/e2e/rmi_test.go
+++ b/test/e2e/rmi_test.go
@@ -80,7 +80,7 @@ var _ = Describe("Podman rmi", func() {
result.WaitWithDefaultTimeout()
Expect(result.ExitCode()).To(Equal(0))
- Expect(result.LineInOuputContains(setup.OutputToString())).To(BeTrue())
+ Expect(result.LineInOutputContains(setup.OutputToString())).To(BeTrue())
})
It("podman rmi image with tags by ID cannot be done without force", func() {
diff --git a/test/e2e/search_test.go b/test/e2e/search_test.go
index fbe5a4580..5f3dd1068 100644
--- a/test/e2e/search_test.go
+++ b/test/e2e/search_test.go
@@ -32,14 +32,14 @@ var _ = Describe("Podman search", func() {
search.WaitWithDefaultTimeout()
Expect(search.ExitCode()).To(Equal(0))
Expect(len(search.OutputToStringArray())).To(BeNumerically(">", 1))
- Expect(search.LineInOuputContains("docker.io/library/alpine")).To(BeTrue())
+ Expect(search.LineInOutputContains("docker.io/library/alpine")).To(BeTrue())
})
It("podman search registry flag", func() {
search := podmanTest.Podman([]string{"search", "--registry", "registry.fedoraproject.org", "fedora-minimal"})
search.WaitWithDefaultTimeout()
Expect(search.ExitCode()).To(Equal(0))
- Expect(search.LineInOuputContains("fedoraproject.org/fedora-minimal")).To(BeTrue())
+ Expect(search.LineInOutputContains("fedoraproject.org/fedora-minimal")).To(BeTrue())
})
It("podman search format flag", func() {
@@ -47,7 +47,7 @@ var _ = Describe("Podman search", func() {
search.WaitWithDefaultTimeout()
Expect(search.ExitCode()).To(Equal(0))
Expect(len(search.OutputToStringArray())).To(BeNumerically(">", 1))
- Expect(search.LineInOuputContains("docker.io/library/alpine")).To(BeTrue())
+ Expect(search.LineInOutputContains("docker.io/library/alpine")).To(BeTrue())
})
It("podman search no-trunc flag", func() {
@@ -55,7 +55,7 @@ var _ = Describe("Podman search", func() {
search.WaitWithDefaultTimeout()
Expect(search.ExitCode()).To(Equal(0))
Expect(len(search.OutputToStringArray())).To(BeNumerically(">", 1))
- Expect(search.LineInOuputContains("docker.io/library/alpine")).To(BeTrue())
+ Expect(search.LineInOutputContains("docker.io/library/alpine")).To(BeTrue())
})
It("podman search limit flag", func() {