diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-08-28 08:38:00 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-28 11:25:01 +0000 |
commit | ff4c7a068add2b0a910d2e7f3d442a5c93586e98 (patch) | |
tree | 8dd8f8d20824673d2eeda415f0e2f5b9499cb14f /test/e2e/rootless_test.go | |
parent | bfedcb4f3c2da84dd51dc886ed8ffc303daf88f7 (diff) | |
download | podman-ff4c7a068add2b0a910d2e7f3d442a5c93586e98.tar.gz podman-ff4c7a068add2b0a910d2e7f3d442a5c93586e98.tar.bz2 podman-ff4c7a068add2b0a910d2e7f3d442a5c93586e98.zip |
rootless, stop: do not create a new userns
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes: #1360
Approved by: vrothberg
Diffstat (limited to 'test/e2e/rootless_test.go')
-rw-r--r-- | test/e2e/rootless_test.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/e2e/rootless_test.go b/test/e2e/rootless_test.go index 9d11a5be9..f162d5ddf 100644 --- a/test/e2e/rootless_test.go +++ b/test/e2e/rootless_test.go @@ -127,6 +127,14 @@ var _ = Describe("Podman rootless", func() { cmd.WaitWithDefaultTimeout() Expect(cmd.ExitCode()).To(Equal(0)) + cmd = podmanTest.PodmanAsUser([]string{"stop", "-l", "-t", "0"}, 1000, 1000, env) + cmd.WaitWithDefaultTimeout() + Expect(cmd.ExitCode()).To(Equal(0)) + + cmd = podmanTest.PodmanAsUser([]string{"start", "-l"}, 1000, 1000, env) + cmd.WaitWithDefaultTimeout() + Expect(cmd.ExitCode()).To(Equal(0)) + if !canExec() { Skip("ioctl(NS_GET_PARENT) not supported.") } |