# Global shell definitions for the autotest test suite PATH="@abs_top_builddir@/src:$PATH" export PATH GREP="@GREP@" EGREP="@EGREP@" TAR="@TAR@" PERL="@PERL@" if ! command -v lzma >/dev/null && command -v xz >/dev/null; then lzma() { xz --format=lzma "$@" } fi # Setup a sane environment umask 0022 LC_ALL=C export LC_ALL TZ=UTC0 export TZ SOURCE_DATE_EPOCH=0 export SOURCE_DATE_EPOCH prefix="@prefix@" eval "export DEFAULT_ADMINDIR='@admindir@'" export DPKG_DATADIR="@abs_top_srcdir@/src" # Cleanup variables that might affect the tests. unset GZIP unset BZIP unset XZ_OPT unset XZ_DEFAULTS unset DPKG_ROOT