diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-04-22 07:08:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-22 07:08:32 -0400 |
commit | 04acbaa4b161b23e93b990321582b1586d86f2a8 (patch) | |
tree | 746b762b7450ed10d6500a97f7199fc1fd876c1c /test | |
parent | 0d6af1438710acc03ef9e7395e1bc8ecf46f4294 (diff) | |
parent | f87f23e3b624e2831d501589c84767ff11419398 (diff) | |
download | podman-04acbaa4b161b23e93b990321582b1586d86f2a8.tar.gz podman-04acbaa4b161b23e93b990321582b1586d86f2a8.tar.bz2 podman-04acbaa4b161b23e93b990321582b1586d86f2a8.zip |
Merge pull request #13969 from flouthoc/mount-csv-parsing
specgen-volumes: parse `--mount` using csv-reader instead of split.
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/run_volume_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/e2e/run_volume_test.go b/test/e2e/run_volume_test.go index 4887197f6..0be84e11b 100644 --- a/test/e2e/run_volume_test.go +++ b/test/e2e/run_volume_test.go @@ -120,6 +120,11 @@ var _ = Describe("Podman run with volumes", func() { session.WaitWithDefaultTimeout() Expect(session).To(ExitWithError()) + // test csv escaping + session = podmanTest.Podman([]string{"run", "--rm", "--mount=type=tmpfs,tmpfs-size=512M,\"destination=/test,\"", ALPINE, "ls", "/test,"}) + session.WaitWithDefaultTimeout() + Expect(session).Should(Exit(0)) + session = podmanTest.Podman([]string{"run", "--rm", "--mount", "type=bind,src=/tmp,target=/tmp,tmpcopyup", ALPINE, "true"}) session.WaitWithDefaultTimeout() Expect(session).To(ExitWithError()) |