diff options
author | Paul Holzinger <paul.holzinger@web.de> | 2021-03-15 15:56:57 +0100 |
---|---|---|
committer | Paul Holzinger <paul.holzinger@web.de> | 2021-03-15 15:56:57 +0100 |
commit | 8de56070393ad449dc54ae622d9b82f28a6a5c52 (patch) | |
tree | 6a51b88aa97db1ff7dfa0313876b28844764aab1 | |
parent | 57e8c66322849ff60e6126616c0c9883a80fb139 (diff) | |
download | podman-8de56070393ad449dc54ae622d9b82f28a6a5c52.tar.gz podman-8de56070393ad449dc54ae622d9b82f28a6a5c52.tar.bz2 podman-8de56070393ad449dc54ae622d9b82f28a6a5c52.zip |
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>
-rw-r--r-- | test/e2e/containers_conf_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/containers_conf_test.go b/test/e2e/containers_conf_test.go index 6b1a0d16e..aa2380c51 100644 --- a/test/e2e/containers_conf_test.go +++ b/test/e2e/containers_conf_test.go @@ -311,7 +311,7 @@ var _ = Describe("Podman run", func() { session = podmanTest.Podman([]string{"run", ALPINE, "date", "+'%H %Z'"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) - Expect(session.OutputToString()).To(ContainSubstring("EST")) + Expect(session.OutputToString()).To(Or(ContainSubstring("EST"), ContainSubstring("EDT"))) // Umask session = podmanTest.Podman([]string{"run", "--rm", ALPINE, "sh", "-c", "umask"}) |