From 660bb0196ca0e8e8e10d45f9a781c0bbc3b7c5dd Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Tue, 28 Aug 2018 08:43:48 +0200 Subject: rootless, kill: do not create a new userns Signed-off-by: Giuseppe Scrivano Closes: #1360 Approved by: vrothberg --- test/e2e/rootless_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/e2e/rootless_test.go') 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)) -- cgit v1.2.3-54-g00ecf