mirror of
https://github.com/containers/podman.git
synced 2025-08-05 19:02:37 +08:00
Merge pull request #7577 from rhatdan/runlabel1
podman container runlabel should pull the image if it does not exist
This commit is contained in:
@ -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")
|
||||
|
||||
|
Reference in New Issue
Block a user