From b6fe7d1191ce522e5cfdc4da0c7a40a0834af8b4 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Tue, 1 Feb 2022 17:17:41 -0500 Subject: Fix size to match Docker selection Fixes: https://github.com/containers/podman/issues/13096 Signed-off-by: Daniel J Walsh --- test/e2e/containers_conf_test.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/e2e') diff --git a/test/e2e/containers_conf_test.go b/test/e2e/containers_conf_test.go index a23983623..bfed01854 100644 --- a/test/e2e/containers_conf_test.go +++ b/test/e2e/containers_conf_test.go @@ -84,6 +84,11 @@ var _ = Describe("Verify podman containers.conf usage", func() { session.WaitWithDefaultTimeout() Expect(session).Should(Exit(0)) Expect(session.OutputToString()).To(ContainSubstring("size=200k")) + + session = podmanTest.Podman([]string{"run", "--shm-size", "1g", ALPINE, "grep", "shm", "/proc/self/mounts"}) + session.WaitWithDefaultTimeout() + Expect(session).Should(Exit(0)) + Expect(session.OutputToString()).To(ContainSubstring("size=1048576k")) }) It("add capabilities", func() { -- cgit v1.2.3-54-g00ecf