diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-03-21 04:49:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-21 04:49:03 -0700 |
commit | 78244aa6d4725bbf668c0d98896ad726e5bc52e4 (patch) | |
tree | 5ed2a7da8757e1a34fe9b52dcfd4b17aaccf3e8d /test/e2e/run_test.go | |
parent | c230f0c693134830b3df60a8dc37770848a6f5e2 (diff) | |
parent | a53c768409db7cf18c20eab73a24bd193493c9ce (diff) | |
download | podman-78244aa6d4725bbf668c0d98896ad726e5bc52e4.tar.gz podman-78244aa6d4725bbf668c0d98896ad726e5bc52e4.tar.bz2 podman-78244aa6d4725bbf668c0d98896ad726e5bc52e4.zip |
Merge pull request #2717 from giuseppe/fix-env-parse
podman: do not split --env on comma
Diffstat (limited to 'test/e2e/run_test.go')
-rw-r--r-- | test/e2e/run_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go index 9ab4ae563..b0dc66707 100644 --- a/test/e2e/run_test.go +++ b/test/e2e/run_test.go @@ -152,10 +152,10 @@ var _ = Describe("Podman run", func() { }) It("podman run environment test", func() { - session := podmanTest.Podman([]string{"run", "--rm", "--env", "FOO=BAR", ALPINE, "printenv", "FOO"}) + session := podmanTest.Podman([]string{"run", "--rm", "--env", "FOO=BAR,BAZ", ALPINE, "printenv", "FOO"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) - match, _ := session.GrepString("BAR") + match, _ := session.GrepString("BAR,BAZ") Expect(match).Should(BeTrue()) session = podmanTest.Podman([]string{"run", "--rm", "--env", "PATH=/bin", ALPINE, "printenv", "PATH"}) |