e2e: ExitCleanly(): low-hanging fruit, part 2

Commit 2 of 2: manual tweaks to get tests passing. Very trivial,
the vast majority of these test files worked with no changes.

Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
Ed Santiago
2023-09-19 07:31:16 -06:00
parent 64c46c4297
commit 4fca726f7b
3 changed files with 3 additions and 3 deletions

View File

@@ -424,7 +424,7 @@ var _ = Describe("Podman ps", func() {
session = podmanTest.Podman([]string{"ps", "-a", "--format", "{{.Size}}"})
session.WaitWithDefaultTimeout()
Expect(session).Should(ExitCleanly())
Expect(session).Should(Exit(0))
Expect(session.ErrorToString()).To(ContainSubstring("Size format requires --size option"))
})