summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--t-func/atlocal.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/t-func/atlocal.in b/t-func/atlocal.in
index 491ef4daa..9b8a44129 100644
--- a/t-func/atlocal.in
+++ b/t-func/atlocal.in
@@ -13,6 +13,12 @@ export TZ
SOURCE_DATE_EPOCH=0
export SOURCE_DATE_EPOCH
+# Cleanup variables that might affect the tests.
+unset GZIP
+unset BZIP
+unset XZ_OPT
+unset XZ_DEFAULTS
+
if [ "$(id -u)" = 0 ]; then
ASROOT=
elif which fakeroot >/dev/null; then