Your message dated Fri, 04 Feb 2022 17:12:09 -0500
with message-id <[email protected]>
and subject line Re: Bug#831275: faketime: DEP-8 test doesn't work in all 
timezones
has caused the Debian Bug report #831275,
regarding faketime: DEP-8 test doesn't work in all timezones
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
831275: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831275
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: faketime
Version: 0.9.6-7
Tags: patch

Ooops, the test I included in #830588 happens to work in my timezone, but not necessarily elsewhere. Here's a patch to fix it.

--
Jakub Wilk
--- a/debian/tests/smoketest
+++ b/debian/tests/smoketest
@@ -1,3 +1,4 @@
 #!/bin/bash
 export LC_ALL=C
-exec diff -u <(echo 'Wed Dec 24 07:15:42 UTC 2008') <(faketime '2008-12-24 08:15:42' date -u)
+export TZ=UTC
+exec diff -u <(echo 'Wed Dec 24 08:15:42 UTC 2008') <(faketime '2008-12-24 08:15:42' date)

--- End Message ---
--- Begin Message ---
Version: 0.9.7-1

Sorry for the delay in noting this fix in the BTS.  it was fixed in
commit 5ba8629d49a5a208c6ee00f2f79495917a96a172 (using a slightly
different changeset) four years ago :)

       --dkg

On Thu 2016-07-14 13:24:42 +0200, Jakub Wilk wrote:
> Source: faketime
> Version: 0.9.6-7
> Tags: patch
>
> Ooops, the test I included in #830588 happens to work in my timezone, 
> but not necessarily elsewhere. Here's a patch to fix it.
>
> -- 
> Jakub Wilk
> --- a/debian/tests/smoketest
> +++ b/debian/tests/smoketest
> @@ -1,3 +1,4 @@
>  #!/bin/bash
>  export LC_ALL=C
> -exec diff -u <(echo 'Wed Dec 24 07:15:42 UTC 2008') <(faketime '2008-12-24 
> 08:15:42' date -u)
> +export TZ=UTC
> +exec diff -u <(echo 'Wed Dec 24 08:15:42 UTC 2008') <(faketime '2008-12-24 
> 08:15:42' date)

--- End Message ---

Reply via email to