diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2022-02-01 17:17:41 -0500 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2022-02-01 17:19:19 -0500 |
commit | b6fe7d1191ce522e5cfdc4da0c7a40a0834af8b4 (patch) | |
tree | a4469850421a0aaafc329f26b5c26071711546cf /test/e2e | |
parent | 6f491e21aa291ac0e9cbda5f41e7dc8b87fe160c (diff) | |
download | podman-b6fe7d1191ce522e5cfdc4da0c7a40a0834af8b4.tar.gz podman-b6fe7d1191ce522e5cfdc4da0c7a40a0834af8b4.tar.bz2 podman-b6fe7d1191ce522e5cfdc4da0c7a40a0834af8b4.zip |
Fix size to match Docker selection
Fixes: https://github.com/containers/podman/issues/13096
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/containers_conf_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
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() { |