Fix remote client timezone test
The New York timezone changes between summer and winter time. Make sure the test allows both timezones. Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
This commit is contained in:
parent
57e8c66322
commit
8de5607039
|
|
@ -311,7 +311,7 @@ var _ = Describe("Podman run", func() {
|
||||||
session = podmanTest.Podman([]string{"run", ALPINE, "date", "+'%H %Z'"})
|
session = podmanTest.Podman([]string{"run", ALPINE, "date", "+'%H %Z'"})
|
||||||
session.WaitWithDefaultTimeout()
|
session.WaitWithDefaultTimeout()
|
||||||
Expect(session.ExitCode()).To(Equal(0))
|
Expect(session.ExitCode()).To(Equal(0))
|
||||||
Expect(session.OutputToString()).To(ContainSubstring("EST"))
|
Expect(session.OutputToString()).To(Or(ContainSubstring("EST"), ContainSubstring("EDT")))
|
||||||
|
|
||||||
// Umask
|
// Umask
|
||||||
session = podmanTest.Podman([]string{"run", "--rm", ALPINE, "sh", "-c", "umask"})
|
session = podmanTest.Podman([]string{"run", "--rm", ALPINE, "sh", "-c", "umask"})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue