X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fatlocal.in;h=12591e326a4055eb3f9eb983ee638b99893bcc6d;hb=9fe65e2520e3017ed7d90706d29dc4fe3aecd37a;hp=380cac01aed4882869207bd043635e6f3917cecd;hpb=e496c1b52955887eb0a7544eb621e896c989c6ac;p=chaz%2Ftar diff --git a/tests/atlocal.in b/tests/atlocal.in index 380cac0..12591e3 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -16,18 +16,21 @@ fi STAR_DATA_URL=ftp://ftp.berlios.de/pub/star/testscripts if test -z "$STAR_TESTSCRIPTS"; then STAR_TESTSCRIPTS=$TEST_DATA_DIR -fi +fi # tarball_prereq file sum dir url tarball_prereq() { - if test -d "$3"; then + if test -d "$3"; then if test -r $3/$1; then : elif test -n "$FULL_TEST"; then wget -q --directory-prefix=$3 $4/$1 fi - fi + fi echo "$2 $3/$1" | md5sum --status --check - >/dev/null 2>&1 } - +decho() { + echo $* + echo >&2 $* +}