diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-08-28 08:43:48 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-28 11:25:01 +0000 |
commit | 660bb0196ca0e8e8e10d45f9a781c0bbc3b7c5dd (patch) | |
tree | 95a0c63129d7635d43fd515d81bb1db33f995b6b /test/e2e/rootless_test.go | |
parent | ff4c7a068add2b0a910d2e7f3d442a5c93586e98 (diff) | |
download | podman-660bb0196ca0e8e8e10d45f9a781c0bbc3b7c5dd.tar.gz podman-660bb0196ca0e8e8e10d45f9a781c0bbc3b7c5dd.tar.bz2 podman-660bb0196ca0e8e8e10d45f9a781c0bbc3b7c5dd.zip |
rootless, kill: 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 f162d5ddf..7b3f26d45 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{"kill", "-l"}, 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)) + cmd = podmanTest.PodmanAsUser([]string{"stop", "-l", "-t", "0"}, 1000, 1000, env) cmd.WaitWithDefaultTimeout() Expect(cmd.ExitCode()).To(Equal(0)) |