mirror of
https://github.com/containers/podman.git
synced 2025-10-17 03:04:21 +08:00
e2e: reenable warning checks on Debian
Back when we introduced ExitCleanly(), we couldn't use it on Debian because of too many runc bugs. Now, early 2024: - #11784 has been closed-wontfix, so add a runc special-case in the specific test that triggers it. - #11785 seems to have gone away? Treat it as fixed. - #19552 is languishing, so let's just close-wontfix it too and add another runc special case. - and, one new rootless-cgroupsV1 exception for a warning msg that snuck in recently. Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@ -409,14 +409,20 @@ var _ = Describe("Podman exec", func() {
|
||||
})
|
||||
|
||||
It("podman exec cannot be invoked", func() {
|
||||
SkipIfNotFedora("FIXME: #19552 fails on Debian SID w/ runc 1.1.5")
|
||||
setup := podmanTest.RunTopContainer("test1")
|
||||
setup.WaitWithDefaultTimeout()
|
||||
Expect(setup).Should(ExitCleanly())
|
||||
|
||||
session := podmanTest.Podman([]string{"exec", "test1", "/etc"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session).Should(Exit(126))
|
||||
|
||||
if podmanTest.OCIRuntime == "runc" {
|
||||
// #19552 and others: some versions of runc exit 255.
|
||||
Expect(session).Should(ExitWithError())
|
||||
} else {
|
||||
// crun (and, we hope, any other future runtimes)
|
||||
Expect(session).Should(Exit(126))
|
||||
}
|
||||
})
|
||||
|
||||
It("podman exec command not found", func() {
|
||||
|
Reference in New Issue
Block a user