summaryrefslogtreecommitdiff
path: root/test/e2e/run_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-11-01 06:19:51 -0700
committerGitHub <noreply@github.com>2018-11-01 06:19:51 -0700
commit20a3a53c2faea408af47023ea60c76b5b5ecea3c (patch)
treefd0ac4794b476315375af880d15051c6c977331a /test/e2e/run_test.go
parente75469ab99c48e9fbe2b36ade229d384bdea9144 (diff)
parent0360ec725acf7a179b03f4d7a3a5fe1cc2e383c8 (diff)
downloadpodman-20a3a53c2faea408af47023ea60c76b5b5ecea3c.tar.gz
podman-20a3a53c2faea408af47023ea60c76b5b5ecea3c.tar.bz2
podman-20a3a53c2faea408af47023ea60c76b5b5ecea3c.zip
Merge pull request #1740 from baude/ppc64le
allow ppc64le to pass libpod integration tests
Diffstat (limited to 'test/e2e/run_test.go')
-rw-r--r--test/e2e/run_test.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go
index cb436ccca..d362c1646 100644
--- a/test/e2e/run_test.go
+++ b/test/e2e/run_test.go
@@ -42,8 +42,9 @@ var _ = Describe("Podman run", func() {
})
It("podman run a container based on a complex local image name", func() {
+ imageName := strings.TrimPrefix(nginx, "quay.io/")
podmanTest.RestoreArtifact(nginx)
- session := podmanTest.Podman([]string{"run", "baude/alpine_nginx:latest", "ls"})
+ session := podmanTest.Podman([]string{"run", imageName, "ls"})
session.WaitWithDefaultTimeout()
Expect(session.ErrorToString()).ToNot(ContainSubstring("Trying to pull"))
Expect(session.ExitCode()).To(Equal(0))
@@ -203,6 +204,9 @@ var _ = Describe("Podman run", func() {
})
It("podman run with mount flag", func() {
+ if podmanTest.Host.Arch == "ppc64le" {
+ Skip("skip failing test on ppc64le")
+ }
mountPath := filepath.Join(podmanTest.TempDir, "secrets")
os.Mkdir(mountPath, 0755)
session := podmanTest.Podman([]string{"run", "--rm", "--mount", fmt.Sprintf("type=bind,src=%s,target=/run/test", mountPath), ALPINE, "grep", "/run/test", "/proc/self/mountinfo"})