atlocal.in 948 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # @configure_input@ -*- shell-script -*-
  2. # Configurable variable values for tar test suite.
  3. # Copyright (C) 2004, 2006 Free Software Foundation, Inc.
  4. PATH=@abs_builddir@:@abs_top_builddir@/src:@abs_top_srcdir@/build-aux:$top_srcdir:$srcdir:$PATH
  5. XFAILFILE=$abs_builddir/.badversion
  6. trap "test -r $XFAILFILE && cat $XFAILFILE; exit $?" 1 2 13 15
  7. TEST_DATA_URL=ftp://download.gnu.org.ua/pub/tests/tar
  8. if test -z "$TEST_DATA_DIR"; then
  9. TEST_DATA_DIR=$abs_builddir
  10. fi
  11. STAR_DATA_URL=ftp://ftp.berlios.de/pub/star/testscripts
  12. if test -z "$STAR_TESTSCRIPTS"; then
  13. STAR_TESTSCRIPTS=$TEST_DATA_DIR
  14. fi
  15. # tarball_prereq file sum dir url
  16. tarball_prereq() {
  17. if test -d "$3"; then
  18. if test -r $3/$1; then
  19. :
  20. elif test -n "$FULL_TEST"; then
  21. wget -q --directory-prefix=$3 $4/$1
  22. fi
  23. fi
  24. echo "$2 $3/$1" | md5sum --status --check - >/dev/null 2>&1
  25. }
  26. decho() {
  27. echo $*
  28. echo >&2 $*
  29. }