Skip to content

Commit

Permalink
e2e --authfile test: fix test condition
Browse files Browse the repository at this point in the history
Which revealed that absent --authfile's are ignored but shouldn't.
The issue is now being tracked in containers#18938.

Signed-off-by: Valentin Rothberg <[email protected]>
  • Loading branch information
vrothberg committed Jun 20, 2023
1 parent 84e4287 commit 574e00d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/e2e/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,10 @@ var _ = Describe("Podman create", func() {
})

It("podman create --authfile with nonexistent authfile", func() {
// FIXME (#18938): this test should fail but does not!
session := podmanTest.Podman([]string{"create", "--authfile", "/tmp/nonexistent", "--name=foo", ALPINE})
session.WaitWithDefaultTimeout()
Expect(session).ToNot(HaveValue(Equal(0)))
Expect(session).Should(Exit(0))
})

It("podman create --signature-policy", func() {
Expand Down

0 comments on commit 574e00d

Please sign in to comment.