From a01349373adf0fb89cfeceea517843c2ce1c4413 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Fri, 31 May 2019 11:59:50 -0400 Subject: Small fix to readme to force tests to run Signed-off-by: Matthew Heon --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 820ce7dc8..64af6a120 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ At a high level, the scope of libpod and Podman is the following: * Full management of container lifecycle * Support for pods to manage groups of containers together * Resource isolation of containers and pods. +* Support for a Docker-compatible CLI interface through Podman. * Integration with CRI-O to share containers and backend code. This project tests all builds against each supported version of Fedora, the latest released version of Red Hat Enterprise Linux, and the latest Ubuntu Long Term Support release. The community has also reported success with other Linux flavors. -- cgit v1.2.3-54-g00ecf From 25aac813bd88478961b60eda2a3ede7fcf5adef9 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Fri, 31 May 2019 12:58:44 -0400 Subject: Fix podman cp test by reordering operations Signed-off-by: Matthew Heon --- test/e2e/cp_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/e2e/cp_test.go b/test/e2e/cp_test.go index 983d61b58..597d0aef7 100644 --- a/test/e2e/cp_test.go +++ b/test/e2e/cp_test.go @@ -163,16 +163,16 @@ var _ = Describe("Podman cp", func() { }) It("podman cp symlink", func() { - srcPath := filepath.Join(podmanTest.RunRoot, "cp_test.txt") - fromHostToContainer := []byte("copy from host to container") - err := ioutil.WriteFile(srcPath, fromHostToContainer, 0644) - Expect(err).To(BeNil()) - session := podmanTest.Podman([]string{"run", "-d", ALPINE, "top"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) name := session.OutputToString() + srcPath := filepath.Join(podmanTest.RunRoot, "cp_test.txt") + fromHostToContainer := []byte("copy from host to container") + err := ioutil.WriteFile(srcPath, fromHostToContainer, 0644) + Expect(err).To(BeNil()) + session = podmanTest.Podman([]string{"exec", name, "ln", "-s", "/tmp", "/test"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) -- cgit v1.2.3-54-g00ecf