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>
This commit is contained in:
parent
77653d8a01
commit
8d59cbd64e
@ -3,6 +3,9 @@
|
||||
set -e
|
||||
export BLKID_FILE=/dev/null
|
||||
|
||||
# We can't have this set, or filesystem tests will fail.
|
||||
unset SOURCE_DATE_EPOCH
|
||||
|
||||
fs="$1"
|
||||
|
||||
GRUBFSTEST="@builddir@/grub-fstest"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user