diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-12-05 05:41:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-05 05:41:52 -0500 |
commit | 0c2a43b99db8a4fd75412a277da6de2731017d3e (patch) | |
tree | 87f377c23f1e0342600f304d7d266c565d71f497 /test/e2e/containers_conf_test.go | |
parent | 0be4085596bd42b41d2a807ad0057643b6a3062f (diff) | |
parent | d6d3af9e8ebda9229a5d92d71c66e416c3f99a91 (diff) | |
download | podman-0c2a43b99db8a4fd75412a277da6de2731017d3e.tar.gz podman-0c2a43b99db8a4fd75412a277da6de2731017d3e.tar.bz2 podman-0c2a43b99db8a4fd75412a277da6de2731017d3e.zip |
Merge pull request #8489 from ashley-cui/commonslirp
Add ability to set system wide options for slirp4netns
Diffstat (limited to 'test/e2e/containers_conf_test.go')
-rw-r--r-- | test/e2e/containers_conf_test.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/e2e/containers_conf_test.go b/test/e2e/containers_conf_test.go index 866162f7f..28672cfc6 100644 --- a/test/e2e/containers_conf_test.go +++ b/test/e2e/containers_conf_test.go @@ -258,6 +258,12 @@ var _ = Describe("Podman run", func() { Expect(session.OutputToString()).To(Equal("0002")) }) + It("podman set network cmd options slirp options to allow host loopback", func() { + session := podmanTest.Podman([]string{"run", "--network", "slirp4netns", ALPINE, "ping", "-c1", "10.0.2.2"}) + session.Wait(30) + Expect(session.ExitCode()).To(Equal(0)) + }) + It("podman-remote test localcontainers.conf versus remote containers.conf", func() { if !IsRemote() { Skip("this test is only for remote") @@ -311,4 +317,5 @@ var _ = Describe("Podman run", func() { Expect(session.ExitCode()).To(Equal(0)) Expect(session.OutputToString()).To(Equal("0022")) }) + }) |