aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-02-02 09:36:45 -0500
committerGitHub <noreply@github.com>2022-02-02 09:36:45 -0500
commit72c505a18104a183ad92e3b419f11d31fd37edaa (patch)
tree8c5a2663af3bd6138514db52f4f9c68107b17093 /test
parentc2d0011b723428c622b99cf633439f84c4bf901a (diff)
parentb6fe7d1191ce522e5cfdc4da0c7a40a0834af8b4 (diff)
downloadpodman-72c505a18104a183ad92e3b419f11d31fd37edaa.tar.gz
podman-72c505a18104a183ad92e3b419f11d31fd37edaa.tar.bz2
podman-72c505a18104a183ad92e3b419f11d31fd37edaa.zip
Merge pull request #13107 from rhatdan/shm
Fix size to match Docker selection
Diffstat (limited to 'test')
-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() {