summaryrefslogtreecommitdiff
path: root/test/e2e/run_userns_test.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2020-04-24 14:54:43 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2020-04-24 15:03:50 +0200
commit64d8b4eebb01c6647b0588475c785cdd075389d3 (patch)
tree3599df29a94df5298f783b39dbacd5957f291497 /test/e2e/run_userns_test.go
parent81c7a2444cb5cbf8b8911cdb59446a239f89168c (diff)
downloadpodman-64d8b4eebb01c6647b0588475c785cdd075389d3.tar.gz
podman-64d8b4eebb01c6647b0588475c785cdd075389d3.tar.bz2
podman-64d8b4eebb01c6647b0588475c785cdd075389d3.zip
podman: implement userns=keep-id
add missing implementation for userns=keep-id and enable the user namespaces tests. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'test/e2e/run_userns_test.go')
-rw-r--r--test/e2e/run_userns_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/run_userns_test.go b/test/e2e/run_userns_test.go
index a4e99ab71..d4b4f9024 100644
--- a/test/e2e/run_userns_test.go
+++ b/test/e2e/run_userns_test.go
@@ -22,7 +22,6 @@ var _ = Describe("Podman UserNS support", func() {
)
BeforeEach(func() {
- Skip(v2fail)
if os.Getenv("SKIP_USERNS") != "" {
Skip("Skip userns tests.")
}
@@ -219,6 +218,7 @@ var _ = Describe("Podman UserNS support", func() {
})
It("podman --userns=container:CTR", func() {
+ Skip(v2fail)
ctrName := "userns-ctr"
session := podmanTest.Podman([]string{"run", "-d", "--uidmap=0:0:1", "--uidmap=1:1:4998", "--name", ctrName, "alpine", "top"})
session.WaitWithDefaultTimeout()