summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-07 21:44:47 +0200
committerGitHub <noreply@github.com>2020-05-07 21:44:47 +0200
commitab518cdba02b85a32d3c2bce4c0b65dcdea4dfcc (patch)
tree916c768fca45b5e809f9e941b5425e760dcfe08c /test
parent1d3cdf9a4642df073becb54d178d6b1959526a47 (diff)
parent99bdafba999078bb5763c65cf7dfe7df520030f7 (diff)
downloadpodman-ab518cdba02b85a32d3c2bce4c0b65dcdea4dfcc.tar.gz
podman-ab518cdba02b85a32d3c2bce4c0b65dcdea4dfcc.tar.bz2
podman-ab518cdba02b85a32d3c2bce4c0b65dcdea4dfcc.zip
Merge pull request #6115 from rhatdan/env
podman: split env variables in env and overrides
Diffstat (limited to 'test')
-rw-r--r--test/e2e/build_test.go1
-rw-r--r--test/e2e/run_env_test.go4
2 files changed, 3 insertions, 2 deletions
diff --git a/test/e2e/build_test.go b/test/e2e/build_test.go
index 76651283a..9e41fd231 100644
--- a/test/e2e/build_test.go
+++ b/test/e2e/build_test.go
@@ -177,7 +177,6 @@ var _ = Describe("Podman build", func() {
})
It("podman Test PATH in built image", func() {
- Skip(v2fail) // Run error - we don't set data from the image (i.e., PATH) yet
path := "/tmp:/bin:/usr/bin:/usr/sbin"
session := podmanTest.PodmanNoCache([]string{
"build", "-f", "build/basicalpine/Containerfile.path", "-t", "test-path",
diff --git a/test/e2e/run_env_test.go b/test/e2e/run_env_test.go
index 867913a08..2adf21171 100644
--- a/test/e2e/run_env_test.go
+++ b/test/e2e/run_env_test.go
@@ -91,7 +91,8 @@ var _ = Describe("Podman run", func() {
Expect(match).Should(BeTrue())
})
- It("podman run --host-env environment test", func() {
+ It("podman run --env-host environment test", func() {
+ SkipIfRemote()
env := append(os.Environ(), "FOO=BAR")
session := podmanTest.PodmanAsUser([]string{"run", "--rm", "--env-host", ALPINE, "/bin/printenv", "FOO"}, 0, 0, "", env)
@@ -109,6 +110,7 @@ var _ = Describe("Podman run", func() {
})
It("podman run --http-proxy test", func() {
+ SkipIfRemote()
os.Setenv("http_proxy", "1.2.3.4")
session := podmanTest.Podman([]string{"run", "--rm", ALPINE, "printenv", "http_proxy"})
session.WaitWithDefaultTimeout()