From 769df3207d5f73ced76ad2e9973eedbefaa164e9 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Wed, 16 Jun 2021 08:47:28 +0200 Subject: test: drop invalid test runc-1.0-rc95 refuses destination paths that are not absolute. The test was causing a mount with a destination "[/etc/foo]" causing the OCI runtime to fail. Signed-off-by: Giuseppe Scrivano --- test/e2e/run_test.go | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'test') diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go index 58538b689..f563c1df6 100644 --- a/test/e2e/run_test.go +++ b/test/e2e/run_test.go @@ -921,17 +921,6 @@ USER mail`, BB) Expect(session.OutputToString()).To(ContainSubstring("mail root")) }) - It("podman run with incorect VOLUME", func() { - dockerfile := fmt.Sprintf(`FROM %s -VOLUME ['/etc/foo'] -WORKDIR /etc/foo`, BB) - podmanTest.BuildImage(dockerfile, "test", "false") - session := podmanTest.Podman([]string{"run", "--rm", "test", "echo", "test"}) - session.WaitWithDefaultTimeout() - Expect(session.ExitCode()).To(Equal(0)) - Expect(session.OutputToString()).To(ContainSubstring("test")) - }) - It("podman run --volumes-from flag", func() { vol := filepath.Join(podmanTest.TempDir, "vol-test") err := os.MkdirAll(vol, 0755) -- cgit v1.2.3-54-g00ecf