mirror of
https://github.com/containers/podman.git
synced 2025-07-26 01:43:26 +08:00
Fix test suite
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
This commit is contained in:
@ -789,9 +789,10 @@ USER mail`
|
|||||||
match, _ := session.GrepString("1.2.3.4")
|
match, _ := session.GrepString("1.2.3.4")
|
||||||
Expect(match).Should(BeTrue())
|
Expect(match).Should(BeTrue())
|
||||||
|
|
||||||
session = podmanTest.Podman([]string{"run", "--rm", "--http-proxy=false", ALPINE, "printenv", "http_proxy"})
|
session = podmanTest.Podman([]string{"run", "--http-proxy=false", ALPINE, "printenv", "http_proxy"})
|
||||||
session.WaitWithDefaultTimeout()
|
session.WaitWithDefaultTimeout()
|
||||||
Expect(session.ExitCode()).To(Equal(1))
|
Expect(session.ExitCode()).To(Equal(1))
|
||||||
|
Expect(session.OutputToString()).To(Equal(""))
|
||||||
os.Unsetenv("http_proxy")
|
os.Unsetenv("http_proxy")
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user