summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-10-29 12:46:10 +0100
committerSam James <sam@gentoo.org>2021-10-29 12:46:36 +0100
commitbbb08cb79e8edd1e3dbf27a221883933ec1ba1a6 (patch)
tree7511c485b145bc28cbf7a3ad62faa9f9f93b38d5 /app-admin
parentsys-kernel/gentoo-sources: sparc stable wrt bug #818199 (diff)
downloadgentoo-bbb08cb79e8edd1e3dbf27a221883933ec1ba1a6.tar.gz
gentoo-bbb08cb79e8edd1e3dbf27a221883933ec1ba1a6.tar.bz2
gentoo-bbb08cb79e8edd1e3dbf27a221883933ec1ba1a6.zip
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@posteo.de> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/sudo/sudo-1.9.8_p2.ebuild5
-rw-r--r--app-admin/sudo/sudo-9999.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/app-admin/sudo/sudo-1.9.8_p2.ebuild b/app-admin/sudo/sudo-1.9.8_p2.ebuild
index 998a3daed771..61a6d2d54cbc 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 de7fec385553..a35ba589af05 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