Index: tests/Makefile.am =================================================================== RCS file: /e/serv/cvsroot/dri/namazu-2.0.13/tests/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tests/Makefile.am 5 Jul 2004 23:42:15 -0000 1.1 +++ tests/Makefile.am 6 Jul 2004 02:12:29 -0000 1.2 @@ -3,7 +3,8 @@ SUBDIRS = data TESTS_ENVIRONMENT = top_srcdir=$(top_srcdir) top_builddir=$(top_builddir) \ - pkgdatadir=$(top_srcdir) MKNMZNORC= NAMAZUNORC=ALL + pkgdatadir=$(top_srcdir) MKNMZNORC= NAMAZUNORC=ALL \ + VPATH=${VPATH} TESTS = mknmz-1 mknmz-2 mknmz-3 mknmz-4 mknmz-5 \ mknmz-6 mknmz-7 mknmz-8 mknmz-9 mknmz-10 \ Index: tests/Makefile.in =================================================================== RCS file: /e/serv/cvsroot/dri/namazu-2.0.13/tests/Makefile.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tests/Makefile.in 5 Jul 2004 23:42:15 -0000 1.1 +++ tests/Makefile.in 6 Jul 2004 02:12:31 -0000 1.2 @@ -134,7 +134,8 @@ SUBDIRS = data TESTS_ENVIRONMENT = top_srcdir=$(top_srcdir) top_builddir=$(top_builddir) \ - pkgdatadir=$(top_srcdir) MKNMZNORC= NAMAZUNORC=ALL + pkgdatadir=$(top_srcdir) MKNMZNORC= NAMAZUNORC=ALL \ + VPATH=${VPATH} TESTS = mknmz-1 mknmz-2 mknmz-3 mknmz-4 mknmz-5 \ Index: tests/ja-namazu-cgi-1 =================================================================== RCS file: /e/serv/cvsroot/dri/namazu-2.0.13/tests/ja-namazu-cgi-1,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tests/ja-namazu-cgi-1 5 Jul 2004 23:42:17 -0000 1.1 +++ tests/ja-namazu-cgi-1 6 Jul 2004 02:19:53 -0000 1.2 @@ -6,7 +6,7 @@ echo ' *** starting ' $0 >>$LOG IDX=`pwd`/ja-idx1 -. ./commonfuncs +. ${VPATH}/commonfuncs EXEC=no case $LANG in Index: tests/namazu-cgi-1 =================================================================== RCS file: /e/serv/cvsroot/dri/namazu-2.0.13/tests/namazu-cgi-1,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tests/namazu-cgi-1 5 Jul 2004 23:42:19 -0000 1.1 +++ tests/namazu-cgi-1 6 Jul 2004 02:12:31 -0000 1.2 @@ -4,7 +4,7 @@ # LOG=`pwd`/test-log echo ' *** starting ' $0 >>$LOG -. ./commonfuncs +. ${VPATH}/commonfuncs docnum=`perl -lne 'print $1 if /^files (\d+)/' "idx1/NMZ.status"` Index: tests/namazu-cgi-10 =================================================================== RCS file: /e/serv/cvsroot/dri/namazu-2.0.13/tests/namazu-cgi-10,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tests/namazu-cgi-10 5 Jul 2004 23:42:19 -0000 1.1 +++ tests/namazu-cgi-10 6 Jul 2004 02:19:54 -0000 1.2 @@ -4,7 +4,7 @@ # LOG=`pwd`/test-log echo ' *** starting ' $0 >>$LOG -. ./commonfuncs +. ${VPATH}/commonfuncs pwd=`pwd` tmprc="$pwd/../src/.namazurc" echo "Index $pwd/idx20" > $tmprc Index: tests/namazu-cgi-2 =================================================================== RCS file: /e/serv/cvsroot/dri/namazu-2.0.13/tests/namazu-cgi-2,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tests/namazu-cgi-2 5 Jul 2004 23:42:20 -0000 1.1 +++ tests/namazu-cgi-2 6 Jul 2004 02:19:54 -0000 1.2 @@ -4,7 +4,7 @@ # LOG=`pwd`/test-log echo ' *** starting ' $0 >>$LOG -. ./commonfuncs +. ${VPATH}/commonfuncs docnum=`perl -lne 'print $1 if /^files (\d+)/' "idx1/NMZ.status"` docnum=`expr $docnum + $docnum` Index: tests/namazu-cgi-3 =================================================================== RCS file: /e/serv/cvsroot/dri/namazu-2.0.13/tests/namazu-cgi-3,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tests/namazu-cgi-3 5 Jul 2004 23:42:20 -0000 1.1 +++ tests/namazu-cgi-3 6 Jul 2004 02:19:54 -0000 1.2 @@ -7,7 +7,7 @@ LOG=`pwd`/test-log pwd=`pwd` echo ' *** starting ' $0 >>$LOG -. ./commonfuncs +. ${VPATH}/commonfuncs tmprc="$pwd/../src/.namazurc" echo "Index $pwd" > $tmprc Index: tests/namazu-cgi-4 =================================================================== RCS file: /e/serv/cvsroot/dri/namazu-2.0.13/tests/namazu-cgi-4,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tests/namazu-cgi-4 5 Jul 2004 23:42:20 -0000 1.1 +++ tests/namazu-cgi-4 6 Jul 2004 02:19:54 -0000 1.2 @@ -6,7 +6,7 @@ # LOG=`pwd`/test-log echo ' *** starting ' $0 >>$LOG -. ./commonfuncs +. ${VPATH}/commonfuncs pwd=`pwd` Index: tests/namazu-cgi-5 =================================================================== RCS file: /e/serv/cvsroot/dri/namazu-2.0.13/tests/namazu-cgi-5,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tests/namazu-cgi-5 5 Jul 2004 23:42:20 -0000 1.1 +++ tests/namazu-cgi-5 6 Jul 2004 02:19:54 -0000 1.2 @@ -5,7 +5,7 @@ LOG=`pwd`/test-log echo ' *** starting ' $0 >>$LOG pwd=`pwd` -. ./commonfuncs +. ${VPATH}/commonfuncs tmprc="$pwd/../src/.namazurc" echo "Index $pwd" > $tmprc Index: tests/namazu-cgi-6 =================================================================== RCS file: /e/serv/cvsroot/dri/namazu-2.0.13/tests/namazu-cgi-6,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tests/namazu-cgi-6 5 Jul 2004 23:42:20 -0000 1.1 +++ tests/namazu-cgi-6 6 Jul 2004 02:19:54 -0000 1.2 @@ -5,7 +5,7 @@ LOG=`pwd`/test-log echo ' *** starting ' $0 >>$LOG pwd=`pwd` -. ./commonfuncs +. ${VPATH}/commonfuncs tmprc="$pwd/../src/.namazurc" echo "Index $pwd/idx16" > $tmprc duprcs Index: tests/namazu-cgi-7 =================================================================== RCS file: /e/serv/cvsroot/dri/namazu-2.0.13/tests/namazu-cgi-7,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tests/namazu-cgi-7 5 Jul 2004 23:42:20 -0000 1.1 +++ tests/namazu-cgi-7 6 Jul 2004 02:19:54 -0000 1.2 @@ -4,7 +4,7 @@ # LOG=`pwd`/test-log echo ' *** starting ' $0 >>$LOG -. ./commonfuncs +. ${VPATH}/commonfuncs pwd=`pwd` tmprc="$pwd/../src/.namazurc" echo "Index $pwd/idx19" > $tmprc Index: tests/namazu-cgi-8 =================================================================== RCS file: /e/serv/cvsroot/dri/namazu-2.0.13/tests/namazu-cgi-8,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tests/namazu-cgi-8 5 Jul 2004 23:42:20 -0000 1.1 +++ tests/namazu-cgi-8 6 Jul 2004 02:19:54 -0000 1.2 @@ -4,7 +4,7 @@ # LOG=`pwd`/test-log echo ' *** starting ' $0 >>$LOG -. ./commonfuncs +. ${VPATH}/commonfuncs pwd=`pwd` tmprc="$pwd/../src/.namazurc" echo "Index $pwd/idx19" > $tmprc Index: tests/namazu-cgi-9 =================================================================== RCS file: /e/serv/cvsroot/dri/namazu-2.0.13/tests/namazu-cgi-9,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tests/namazu-cgi-9 5 Jul 2004 23:42:20 -0000 1.1 +++ tests/namazu-cgi-9 6 Jul 2004 02:19:54 -0000 1.2 @@ -4,7 +4,7 @@ # LOG=`pwd`/test-log echo ' *** starting ' $0 >>$LOG -. ./commonfuncs +. ${VPATH}/commonfuncs pwd=`pwd` tmprc="$pwd/../src/.namazurc" echo "Index $pwd/idx19" > $tmprc