summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2022-02-01 17:17:41 -0500
committerMatthew Heon <matthew.heon@pm.me>2022-02-03 14:54:29 -0500
commitcad6459b681dac94801ca63fac61eff1faf3626f (patch)
tree189a069a522e6e1dc0642411a76b463858e2e29e /test/e2e
parent06821627fb6fde0e55d70263469394a0a5299899 (diff)
downloadpodman-cad6459b681dac94801ca63fac61eff1faf3626f.tar.gz
podman-cad6459b681dac94801ca63fac61eff1faf3626f.tar.bz2
podman-cad6459b681dac94801ca63fac61eff1faf3626f.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.go5
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() {