e2e: ExitCleanly(): more low-hanging fruit

Commit 1 of 2.

More easy ones: test files that either work with ExitCleanly()
or require very, very simple tweaks.

Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
Ed Santiago
2023-09-19 16:01:41 -06:00
parent 696f4a6a4d
commit a50fb7e061
35 changed files with 585 additions and 591 deletions

View File

@@ -4,6 +4,7 @@ import (
"fmt"
"github.com/containers/podman/v4/libpod/define"
. "github.com/containers/podman/v4/test/utils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
. "github.com/onsi/gomega/gexec"
@@ -32,7 +33,7 @@ var _ = Describe("Podman run exit", func() {
It("podman run exit 0", func() {
result := podmanTest.Podman([]string{"run", ALPINE, "ls"})
result.WaitWithDefaultTimeout()
Expect(result).Should(Exit(0))
Expect(result).Should(ExitCleanly())
})
It("podman run exit 50", func() {