summaryrefslogtreecommitdiff
path: root/test/e2e/runlabel_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-09-10 15:50:10 -0400
committerGitHub <noreply@github.com>2020-09-10 15:50:10 -0400
commit96bc5eb4b77d00f59a342b7af1f6f3ecd35772a5 (patch)
treeea0739b4b1b265c184b9ec57d42e2c84c549911f /test/e2e/runlabel_test.go
parent41bd5e298a8d16d1d43f5e9d5a25e5ec6436e87b (diff)
parentdfd10d2bcd1104e08609c379c89dffdc3bf8f09b (diff)
downloadpodman-96bc5eb4b77d00f59a342b7af1f6f3ecd35772a5.tar.gz
podman-96bc5eb4b77d00f59a342b7af1f6f3ecd35772a5.tar.bz2
podman-96bc5eb4b77d00f59a342b7af1f6f3ecd35772a5.zip
Merge pull request #7577 from rhatdan/runlabel1
podman container runlabel should pull the image if it does not exist
Diffstat (limited to 'test/e2e/runlabel_test.go')
-rw-r--r--test/e2e/runlabel_test.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/e2e/runlabel_test.go b/test/e2e/runlabel_test.go
index f17b4d560..0eb679fbf 100644
--- a/test/e2e/runlabel_test.go
+++ b/test/e2e/runlabel_test.go
@@ -29,6 +29,8 @@ var _ = Describe("podman container runlabel", func() {
)
BeforeEach(func() {
+ // runlabel is not supported for remote connections
+ SkipIfRemote()
tempdir, err = CreateTempDirInTempDir()
if err != nil {
os.Exit(1)
@@ -46,7 +48,6 @@ var _ = Describe("podman container runlabel", func() {
})
It("podman container runlabel (podman --version)", func() {
- SkipIfRemote()
image := "podman-runlabel-test:podman"
podmanTest.BuildImage(PodmanDockerfile, image, "false")
@@ -60,7 +61,6 @@ var _ = Describe("podman container runlabel", func() {
})
It("podman container runlabel (ls -la)", func() {
- SkipIfRemote()
image := "podman-runlabel-test:ls"
podmanTest.BuildImage(LsDockerfile, image, "false")
@@ -72,9 +72,7 @@ var _ = Describe("podman container runlabel", func() {
result.WaitWithDefaultTimeout()
Expect(result.ExitCode()).To(Equal(0))
})
-
It("podman container runlabel --display", func() {
- SkipIfRemote()
image := "podman-runlabel-test:ls"
podmanTest.BuildImage(LsDockerfile, image, "false")
@@ -115,7 +113,6 @@ var _ = Describe("podman container runlabel", func() {
})
It("runlabel should fail with nonexist authfile", func() {
- SkipIfRemote()
image := "podman-runlabel-test:podman"
podmanTest.BuildImage(PodmanDockerfile, image, "false")