commit: bbb08cb79e8edd1e3dbf27a221883933ec1ba1a6 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Oct 29 11:46:10 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Oct 29 11:46:36 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbb08cb7
app-admin/sudo: fix tests with some timezones Force TZ=UTC for now. It's not ideal but we already have to do this quite often. Closes: https://bugs.gentoo.org/667600 Thanks-to: James Beddek <telans <AT> posteo.de> Signed-off-by: Sam James <sam <AT> gentoo.org> app-admin/sudo/sudo-1.9.8_p2.ebuild | 5 +++++ app-admin/sudo/sudo-9999.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/app-admin/sudo/sudo-1.9.8_p2.ebuild b/app-admin/sudo/sudo-1.9.8_p2.ebuild index 998a3daed77..61a6d2d54cb 100644 --- a/app-admin/sudo/sudo-1.9.8_p2.ebuild +++ b/app-admin/sudo/sudo-1.9.8_p2.ebuild @@ -159,6 +159,11 @@ src_configure() { econf "${myeconfargs[@]}" } +src_test() { + # See bug #667600 for TZ workaround + TZ=UTC default +} + src_install() { default diff --git a/app-admin/sudo/sudo-9999.ebuild b/app-admin/sudo/sudo-9999.ebuild index de7fec38555..a35ba589af0 100644 --- a/app-admin/sudo/sudo-9999.ebuild +++ b/app-admin/sudo/sudo-9999.ebuild @@ -159,6 +159,11 @@ src_configure() { econf "${myeconfargs[@]}" } +src_test() { + # See bug #667600 for TZ workaround + TZ=UTC default +} + src_install() { default
