Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/sudo/
Date: Fri, 29 Oct 2021 11:47:15
Message-Id: 1635507996.bbb08cb79e8edd1e3dbf27a221883933ec1ba1a6.sam@gentoo
1 commit: bbb08cb79e8edd1e3dbf27a221883933ec1ba1a6
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 29 11:46:10 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 29 11:46:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbb08cb7
7
8 app-admin/sudo: fix tests with some timezones
9
10 Force TZ=UTC for now. It's not ideal but we already
11 have to do this quite often.
12
13 Closes: https://bugs.gentoo.org/667600
14 Thanks-to: James Beddek <telans <AT> posteo.de>
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 app-admin/sudo/sudo-1.9.8_p2.ebuild | 5 +++++
18 app-admin/sudo/sudo-9999.ebuild | 5 +++++
19 2 files changed, 10 insertions(+)
20
21 diff --git a/app-admin/sudo/sudo-1.9.8_p2.ebuild b/app-admin/sudo/sudo-1.9.8_p2.ebuild
22 index 998a3daed77..61a6d2d54cb 100644
23 --- a/app-admin/sudo/sudo-1.9.8_p2.ebuild
24 +++ b/app-admin/sudo/sudo-1.9.8_p2.ebuild
25 @@ -159,6 +159,11 @@ src_configure() {
26 econf "${myeconfargs[@]}"
27 }
28
29 +src_test() {
30 + # See bug #667600 for TZ workaround
31 + TZ=UTC default
32 +}
33 +
34 src_install() {
35 default
36
37
38 diff --git a/app-admin/sudo/sudo-9999.ebuild b/app-admin/sudo/sudo-9999.ebuild
39 index de7fec38555..a35ba589af0 100644
40 --- a/app-admin/sudo/sudo-9999.ebuild
41 +++ b/app-admin/sudo/sudo-9999.ebuild
42 @@ -159,6 +159,11 @@ src_configure() {
43 econf "${myeconfargs[@]}"
44 }
45
46 +src_test() {
47 + # See bug #667600 for TZ workaround
48 + TZ=UTC default
49 +}
50 +
51 src_install() {
52 default