Bug#1093412: Regression in tests with new faketime
Ian Jackson
ijackson at chiark.greenend.org.uk
Sun Jan 19 18:24:01 GMT 2025
James Addison writes ("Bug#1093412: Regression in tests with new faketime"):
> Furthermore: performing a copy operation on a file from the source
> when using faketime in debian:unstable appears to reduce the mtime of
> the file by the delta duration each time a copy operation occurs:
>
> $ stat -c '%y' reprotest-0.7.29/reprotest/utils.py
> 2023-02-26 22:10:37.000000000 +0000
> $ NO_FAKE_STAT=1 faketime '+331hours' cp -a reprotest-0.7.29/reprotest/utils.py .
> $ stat -c '%y' utils.py
> 2023-02-13 03:10:37.000000000 +0000
> $ NO_FAKE_STAT=1 faketime '+331hours' cp -a utils.py utils2.py
> $ stat -c '%y' utils2.py
> 2023-01-30 08:10:37.000000000 +0000
Why are we passing NO_FAKE_STAT here?
Maybe the problem is that faketime isn't honouring NO_FAKE_STAT.
I will see if I can confirm...
Ian.
--
Ian Jackson <ijackson at chiark.greenend.org.uk> These opinions are my own.
Pronouns: they/he. If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.
More information about the Reproducible-builds
mailing list