summaryrefslogtreecommitdiffstats
path: root/src/at/atlocal.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/at/atlocal.in32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/at/atlocal.in b/src/at/atlocal.in
new file mode 100644
index 0000000..bf72333
--- /dev/null
+++ b/src/at/atlocal.in
@@ -0,0 +1,32 @@
+# Global shell definitions for the autotest test suite
+
+PATH="@abs_top_builddir@/src:$PATH"
+export PATH
+
+SED=@SED@
+PERL=@PERL@
+
+# 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