diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-01-18 17:12:23 +0100 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-02-08 15:02:28 -0500 |
commit | 2ba7b991b2bae4148eef977136c57f9da828f9bf (patch) | |
tree | 079d66c7dd95efd884df6c2939f2d0c4b970ab58 /test/e2e | |
parent | 2265038a55f81d559b135e5b8384959b1cd4cbfd (diff) | |
download | podman-2ba7b991b2bae4148eef977136c57f9da828f9bf.tar.gz podman-2ba7b991b2bae4148eef977136c57f9da828f9bf.tar.bz2 podman-2ba7b991b2bae4148eef977136c57f9da828f9bf.zip |
rootless: fix --pid=host without --privileged
When using --pid=host don't try to cover /proc paths, as they are
coming from the /proc bind mounted from the host.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/rootless_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/e2e/rootless_test.go b/test/e2e/rootless_test.go index 8e9f9fc8d..e9606f859 100644 --- a/test/e2e/rootless_test.go +++ b/test/e2e/rootless_test.go @@ -274,6 +274,10 @@ var _ = Describe("Podman rootless", func() { runRootlessHelper([]string{"--net", "host"}) }) + It("podman rootless rootfs --pid host", func() { + runRootlessHelper([]string{"--pid", "host"}) + }) + It("podman rootless rootfs --privileged", func() { runRootlessHelper([]string{"--privileged"}) }) |