atlocal.in 507 B

123456789101112131415161718192021222324252627
  1. # Global shell definitions for the autotest test suite
  2. PATH="@abs_top_builddir@/dpkg-deb:@abs_top_builddir@/dpkg-split:@abs_top_builddir@/src:@abs_top_builddir@/utils:$PATH"
  3. export PATH
  4. # Setup a sane environment
  5. LC_ALL=C
  6. export LC_ALL
  7. TZ=UTC
  8. export TZ
  9. SOURCE_DATE_EPOCH=0
  10. export SOURCE_DATE_EPOCH
  11. if [ "$(id -u)" = 0 ]; then
  12. ASROOT=
  13. elif which fakeroot >/dev/null; then
  14. ASROOT=fakeroot
  15. else
  16. echo "error: cannot run as root(ish)" >&2
  17. exit 1
  18. fi
  19. export ASROOT
  20. TESTDATA="@abs_top_srcdir@/t-func"