diff --git a/test/e2e/create_test.go b/test/e2e/create_test.go index 1e06754ced..646ff679d9 100644 --- a/test/e2e/create_test.go +++ b/test/e2e/create_test.go @@ -650,7 +650,7 @@ var _ = Describe("Podman create", func() { It("podman create --platform", func() { session := podmanTest.Podman([]string{"create", "--platform=linux/bogus", ALPINE}) session.WaitWithDefaultTimeout() - Expect(session).Should(ExitWithError(125, "no image found in manifest list for architecture bogus")) + Expect(session).Should(ExitWithError(125, `no image found in manifest list for architecture "bogus"`)) session = podmanTest.Podman([]string{"create", "--platform=linux/arm64", "--os", "windows", ALPINE}) session.WaitWithDefaultTimeout() diff --git a/test/e2e/pull_test.go b/test/e2e/pull_test.go index 4343105ec8..6fec00eaed 100644 --- a/test/e2e/pull_test.go +++ b/test/e2e/pull_test.go @@ -542,7 +542,7 @@ var _ = Describe("Podman pull", func() { It("podman pull --platform", func() { session := podmanTest.Podman([]string{"pull", "-q", "--platform=linux/bogus", ALPINE}) session.WaitWithDefaultTimeout() - Expect(session).Should(ExitWithError(125, "no image found in manifest list for architecture bogus")) + Expect(session).Should(ExitWithError(125, `no image found in manifest list for architecture "bogus"`)) session = podmanTest.Podman([]string{"pull", "-q", "--platform=linux/arm64", "--os", "windows", ALPINE}) session.WaitWithDefaultTimeout() @@ -565,7 +565,7 @@ var _ = Describe("Podman pull", func() { It("podman pull --arch", func() { session := podmanTest.Podman([]string{"pull", "-q", "--arch=bogus", ALPINE}) session.WaitWithDefaultTimeout() - Expect(session).Should(ExitWithError(125, "no image found in manifest list for architecture bogus")) + Expect(session).Should(ExitWithError(125, `no image found in manifest list for architecture "bogus"`)) session = podmanTest.Podman([]string{"pull", "-q", "--arch=arm64", "--os", "windows", ALPINE}) session.WaitWithDefaultTimeout()