diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2021-06-16 08:47:28 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2021-06-16 10:16:04 +0200 |
commit | 769df3207d5f73ced76ad2e9973eedbefaa164e9 (patch) | |
tree | 8a839989be0b0c470a08f821558a25ff4942e4aa /test | |
parent | 969cc3237be54ea3c3f65cab30968cf089662b22 (diff) | |
download | podman-769df3207d5f73ced76ad2e9973eedbefaa164e9.tar.gz podman-769df3207d5f73ced76ad2e9973eedbefaa164e9.tar.bz2 podman-769df3207d5f73ced76ad2e9973eedbefaa164e9.zip |
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 <gscrivan@redhat.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/run_test.go | 11 |
1 files changed, 0 insertions, 11 deletions
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) |