summaryrefslogtreecommitdiffabout
path: root/tests/atlocal.in
Side-by-side diff
Diffstat (limited to 'tests/atlocal.in') (more/less context) (ignore whitespace changes)
-rw-r--r--tests/atlocal.in38
1 files changed, 19 insertions, 19 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 2f01c30..77cf11b 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -8,15 +8,15 @@ XFAILFILE=$abs_builddir/.badversion
trap "cleanup; test -r $XFAILFILE && cat $XFAILFILE; exit $?" 1 2 13 15
-WD_CONFSRC=@abs_top_srcdir@/tests/etc
-WD_DISTDIR=@abs_top_srcdir@/tests/dist
-WD_SRC=@abs_top_builddir@/tests/source
-WD_DST=@abs_top_builddir@/tests/dest
-WD_MAILUTILS=@WD_MAILUTILS@
+WY_CONFSRC=@abs_top_srcdir@/tests/etc
+WY_DISTDIR=@abs_top_srcdir@/tests/dist
+WY_SRC=@abs_top_builddir@/tests/source
+WY_DST=@abs_top_builddir@/tests/dest
+WY_MAILUTILS=@WY_MAILUTILS@
MKDIR_P="@MKDIR_P@"
wydawca_init_testdirs() {
- for dir in "$WD_SRC" "$WD_SRC/test" "${WD_SRC}/fail" "${WD_SRC}/ok" "$WD_DST"
+ for dir in "$WY_SRC" "$WY_SRC/test" "${WY_SRC}/fail" "${WY_SRC}/ok" "$WY_DST"
do
if test -d "$dir"; then
rm -rf "$dir"/*
@@ -27,32 +27,32 @@ wydawca_init_testdirs() {
}
wydawca_clean_testdirs() {
- rm -rf "$WD_SRC" "$WD_DST"
+ rm -rf "$WY_SRC" "$WY_DST"
}
wydawca_expandmeta() {
sed "s/@USER@/$USER/g;
- s,@WD_SRC@,$WD_SRC,g;
- s,@WD_DST@,$WD_DST,g;
- s,@WD_CONFSRC@,$WD_CONFSRC,g;
- s,@WD_MODDIR@,@abs_top_builddir@/modules/mailutils,g" $1 > $2
+ s,@WY_SRC@,$WY_SRC,g;
+ s,@WY_DST@,$WY_DST,g;
+ s,@WY_CONFSRC@,$WY_CONFSRC,g;
+ s,@WY_MODDIR@,@abs_top_builddir@/modules/mailutils,g" $1 > $2
}
wydawca_config() {
- wydawca_expandmeta $WD_CONFSRC/${1}in $1
+ wydawca_expandmeta $WY_CONFSRC/${1}in $1
}
wydawca_upload() {
- dir="$WD_SRC/$1"
+ dir="$WY_SRC/$1"
shift
file=$1
shift
- cp "$WD_DISTDIR/$file" "$dir"
- cp "$WD_DISTDIR/$file.sig" "$dir"
+ cp "$WY_DISTDIR/$file" "$dir"
+ cp "$WY_DISTDIR/$file.sig" "$dir"
if test -n "$1"; then
- cp "$WD_DISTDIR/$1" "$dir/$file.directive.asc"
+ cp "$WY_DISTDIR/$1" "$dir/$file.directive.asc"
else
- cp "$WD_DISTDIR/$file.directive.asc" "$dir"
+ cp "$WY_DISTDIR/$file.directive.asc" "$dir"
fi
}
@@ -61,7 +61,7 @@ wydawca_cmp() {
shift
for file in $@
do
- cmp "$WD_DISTDIR/$file" "$WD_DST/$p/$file" || exit 1
+ cmp "$WY_DISTDIR/$file" "$WY_DST/$p/$file" || exit 1
done
}
@@ -70,6 +70,6 @@ wydawca_cmparc() {
shift
for file in $@
do
- cmp "$WD_DISTDIR/$file" "$WD_DST/$p/archive/$file" || exit 1
+ cmp "$WY_DISTDIR/$file" "$WY_DST/$p/archive/$file" || exit 1
done
}

Return to:

Send suggestions and report system problems to the System administrator.