podman: fix --log-opt=path=%s

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano
2020-04-24 12:50:13 +02:00
parent 145d74716c
commit 3eeb03d1f9
2 changed files with 8 additions and 2 deletions

View File

@@ -469,7 +469,6 @@ var _ = Describe("Podman run", func() {
})
It("podman run log-opt", func() {
Skip(v2fail)
log := filepath.Join(podmanTest.TempDir, "/container.log")
session := podmanTest.Podman([]string{"run", "--rm", "--log-opt", fmt.Sprintf("path=%s", log), ALPINE, "ls"})
session.WaitWithDefaultTimeout()