]> git.ipfire.org Git - thirdparty/grub.git/commit
tests: Explicitly unset SOURCE_DATE_EPOCH before running fs tests
authorSteve McIntyre <steve@einval.com>
Sun, 18 Sep 2022 22:12:02 +0000 (23:12 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 4 Oct 2022 14:14:41 +0000 (16:14 +0200)
commit8d59cbd64e781173559b77fb53185ab71975fa2f
tree8af0b2bf4329097a9e068ef7351e767a87894269
parent77653d8a010299166007dc76580b51597312ccba
tests: Explicitly unset SOURCE_DATE_EPOCH before running fs tests

In some filesystem utils like mksquashfs, they will silently change
behaviour and cause timestamps to unexpectedly change. Build
environments like Debian's set SOURCE_DATE_EPOCH in the environment,
so remove it. Reproducible builds are good and useful for shipped
artifacts, but this causes build-time tests to fail.

Signed-off-by: Steve McIntyre <steve@einval.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
tests/util/grub-fs-tester.in