From 883f814cfb092df9eda2a98dec00f271d88ed17f Mon Sep 17 00:00:00 2001 From: Yiqiao Pu Date: Tue, 27 Nov 2018 15:59:55 +0800 Subject: Update test case name to podman run with --mount flag Update the test case name to make it easier to filter --mount related test cases with -ginkgo.focus. Signed-off-by: Yiqiao Pu --- test/e2e/run_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go index beb408fd4..dbfdf4c74 100644 --- a/test/e2e/run_test.go +++ b/test/e2e/run_test.go @@ -204,7 +204,7 @@ var _ = Describe("Podman run", func() { Expect(session.OutputToString()).To(ContainSubstring("/run/test rw,relatime, shared")) }) - It("podman run with mount flag", func() { + It("podman run with --mount flag", func() { if podmanTest.Host.Arch == "ppc64le" { Skip("skip failing test on ppc64le") } -- cgit v1.2.3-54-g00ecf From 1a217b6aa1f6a913dadb55d5a1d16cae527ebe09 Mon Sep 17 00:00:00 2001 From: Yiqiao Pu Date: Tue, 27 Nov 2018 16:38:41 +0800 Subject: Remove mount options relatime from podman run --mount with shared In some test env, mount with shared options is not included relatime in the mountinfo file. So remove this from the test case. Signed-off-by: Yiqiao Pu --- test/e2e/run_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go index dbfdf4c74..528ec02b2 100644 --- a/test/e2e/run_test.go +++ b/test/e2e/run_test.go @@ -226,7 +226,6 @@ var _ = Describe("Podman run", func() { found, matches := session.GrepString("/run/test") Expect(found).Should(BeTrue()) Expect(matches[0]).To(ContainSubstring("rw")) - Expect(matches[0]).To(ContainSubstring("relatime")) Expect(matches[0]).To(ContainSubstring("shared")) mountPath = filepath.Join(podmanTest.TempDir, "scratchpad") -- cgit v1.2.3-54-g00ecf