From b74edfb0a1bf5a27a3bba884a0e2275d2f281a65 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Mon, 20 Sep 2021 12:09:06 -0400 Subject: Add support for retrieving system service --timeout Signed-off-by: Daniel J Walsh --- test/e2e/containers_conf_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/e2e/containers_conf_test.go') diff --git a/test/e2e/containers_conf_test.go b/test/e2e/containers_conf_test.go index f5e85e723..fac200c3c 100644 --- a/test/e2e/containers_conf_test.go +++ b/test/e2e/containers_conf_test.go @@ -444,4 +444,12 @@ var _ = Describe("Podman run", func() { Expect(session).Should(Exit(0)) Expect(session.ErrorToString()).To(ContainSubstring("invalid image_copy_tmp_dir")) }) + + It("podman system sevice --help shows (default 20)", func() { + SkipIfRemote("this test is only for local") + result := podmanTest.Podman([]string{"system", "service", "--help"}) + result.WaitWithDefaultTimeout() + Expect(result).Should(Exit(0)) + Expect(result.OutputToString()).To(ContainSubstring("(default 1234)")) + }) }) -- cgit v1.2.3-54-g00ecf