Dpkg::Source::Package: Document method additions with an object
[dpkg.git] / src / at / atlocal.in
blob8b413ef967aa8acfac0af5f77a5d9a4418b81668
1 # Global shell definitions for the autotest test suite
3 PATH="@abs_top_builddir@/src:$PATH"
4 export PATH
6 GREP="@GREP@"
7 EGREP="@EGREP@"
8 TAR="@TAR@"
9 PERL="@PERL@"
11 if ! command -v lzma >/dev/null && command -v xz >/dev/null; then
12   lzma() {
13     xz --format=lzma "$@"
14   }
17 # Setup a sane environment
19 umask 0022
21 LC_ALL=C
22 export LC_ALL
24 TZ=UTC0
25 export TZ
27 SOURCE_DATE_EPOCH=0
28 export SOURCE_DATE_EPOCH
30 prefix="@prefix@"
31 eval "export DEFAULT_ADMINDIR='@admindir@'"
32 export DPKG_DATADIR="@abs_top_srcdir@/src"
34 # Cleanup variables that might affect the tests.
35 unset GZIP
36 unset BZIP
37 unset XZ_OPT
38 unset XZ_DEFAULTS
40 unset DPKG_ROOT