diff -ur namazu-2.0.5/tests-ooo/mknmz-1 namazu-2.0.5/tests/mknmz-1 --- namazu-2.0.5/tests-ooo/mknmz-1 Thu Mar 2 19:53:30 2000 +++ namazu-2.0.5/tests/mknmz-1 Fri Sep 29 15:28:15 2000 @@ -10,8 +10,10 @@ else rm -f idx1/NMZ.* fi - # Simple indexing. cd ../scripts +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG ./mknmz -O ../tests/idx1 $TARGET >> $LOG exit $? diff -ur namazu-2.0.5/tests-ooo/mknmz-10 namazu-2.0.5/tests/mknmz-10 --- namazu-2.0.5/tests-ooo/mknmz-10 Thu Jun 15 23:14:35 2000 +++ namazu-2.0.5/tests/mknmz-10 Fri Sep 29 15:30:45 2000 @@ -23,6 +23,9 @@ echo '$conf::ALLOW_FILE=".*\\.txt"' > $tmprc cd ../scripts +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG ./mknmz -O ../tests/idx12 $TARGET >> $LOG 2>&1 ./mknmz --allow='.*\.html' -O ../tests/idx13 $TARGET >> $LOG 2>&1 rm $tmprc diff -ur namazu-2.0.5/tests-ooo/mknmz-2 namazu-2.0.5/tests/mknmz-2 --- namazu-2.0.5/tests-ooo/mknmz-2 Wed Apr 5 08:56:00 2000 +++ namazu-2.0.5/tests/mknmz-2 Fri Sep 29 15:28:27 2000 @@ -10,8 +10,10 @@ else rm -f idx2/NMZ.* fi - cd ../scripts +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG targets=`cat ../tests/idx1/NMZ.field.uri` for target in $targets; do diff -ur namazu-2.0.5/tests-ooo/mknmz-3 namazu-2.0.5/tests/mknmz-3 --- namazu-2.0.5/tests-ooo/mknmz-3 Thu Mar 2 19:53:30 2000 +++ namazu-2.0.5/tests/mknmz-3 Fri Sep 29 15:28:38 2000 @@ -10,13 +10,15 @@ else rm -f idx3/NMZ.* fi - pwd=`pwd` tmprc="$pwd/mknmzrc" echo '$conf::ON_MEMORY_MAX=0' > $tmprc # Simple indexing cd ../scripts +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG ./mknmz --checkpoint -f $tmprc -O ../tests/idx3 $TARGET >> $LOG rm -f $tmprc diff -ur namazu-2.0.5/tests-ooo/mknmz-4 namazu-2.0.5/tests/mknmz-4 --- namazu-2.0.5/tests-ooo/mknmz-4 Thu Sep 14 14:42:38 2000 +++ namazu-2.0.5/tests/mknmz-4 Fri Sep 29 15:29:03 2000 @@ -20,6 +20,9 @@ # Simple indexing. cd ../scripts +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG ./mknmz -O ../tests/idx4 $TMPDATA >> $LOG test "$?" != "0" && exit 1 # error if not success diff -ur namazu-2.0.5/tests-ooo/mknmz-5 namazu-2.0.5/tests/mknmz-5 --- namazu-2.0.5/tests-ooo/mknmz-5 Thu Sep 14 14:42:46 2000 +++ namazu-2.0.5/tests/mknmz-5 Fri Sep 29 15:29:11 2000 @@ -20,6 +20,9 @@ # Simple indexing. cd ../scripts +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG ./mknmz -O ../tests/idx7 $TMPDATA >> $LOG test "$?" != "0" && exit 1 # error if not success diff -ur namazu-2.0.5/tests-ooo/mknmz-6 namazu-2.0.5/tests/mknmz-6 --- namazu-2.0.5/tests-ooo/mknmz-6 Sun Mar 12 15:14:15 2000 +++ namazu-2.0.5/tests/mknmz-6 Fri Sep 29 15:29:23 2000 @@ -13,5 +13,8 @@ # Simple indexing. cd ../scripts +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG ./mknmz -O ../tests/idx8 $TARGET >> $LOG exit $? diff -ur namazu-2.0.5/tests-ooo/mknmz-7 namazu-2.0.5/tests/mknmz-7 --- namazu-2.0.5/tests-ooo/mknmz-7 Wed Apr 26 11:44:57 2000 +++ namazu-2.0.5/tests/mknmz-7 Fri Sep 29 15:29:31 2000 @@ -13,6 +13,9 @@ # Indexing with --html-split option. cd ../scripts +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG ./mknmz --html-split -O ../tests/idx9 $TARGET >> $LOG exit $? diff -ur namazu-2.0.5/tests-ooo/mknmz-8 namazu-2.0.5/tests/mknmz-8 --- namazu-2.0.5/tests-ooo/mknmz-8 Wed Apr 26 19:16:44 2000 +++ namazu-2.0.5/tests/mknmz-8 Fri Sep 29 15:29:43 2000 @@ -20,6 +20,9 @@ # Index with --html-split option. cd ../scripts +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG ./mknmz --html-split -O ../tests/idx10 $TMPDATA >> $LOG test "$?" != "0" && exit 1 # error if not success origdocnum=`./gtnmz ../tests/idx10/NMZ.r` diff -ur namazu-2.0.5/tests-ooo/mknmz-9 namazu-2.0.5/tests/mknmz-9 --- namazu-2.0.5/tests-ooo/mknmz-9 Tue May 23 11:23:59 2000 +++ namazu-2.0.5/tests/mknmz-9 Fri Sep 29 15:29:50 2000 @@ -13,6 +13,9 @@ fi cd ../scripts +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG ./mknmz -O ../tests/idx11 $TARGET >> $LOG 2>&1 & i=20 diff -ur namazu-2.0.5/tests-ooo/namazu-1 namazu-2.0.5/tests/namazu-1 --- namazu-2.0.5/tests-ooo/namazu-1 Sun Feb 27 16:42:04 2000 +++ namazu-2.0.5/tests/namazu-1 Fri Sep 29 15:31:16 2000 @@ -13,6 +13,9 @@ # Check the number of retrieved documents. cd ../src +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG hitnum=`./namazu -c namazu ../tests/idx1` echo "docnum:" $docnum, "hitnum:" $hitnum >> $LOG test "$docnum" != "$hitnum" && exit 1 # error if not matched diff -ur namazu-2.0.5/tests-ooo/namazu-2 namazu-2.0.5/tests/namazu-2 --- namazu-2.0.5/tests-ooo/namazu-2 Sun Feb 27 16:42:04 2000 +++ namazu-2.0.5/tests/namazu-2 Fri Sep 29 15:31:08 2000 @@ -14,6 +14,10 @@ # Check the number of retrieved documents. cd ../src +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG + hitnum=`./namazu -c namazu ../tests/idx1 ../tests/idx2` echo "docnum:" $docnum, "hitnum:" $hitnum >> $LOG test "$docnum" != "$hitnum" && exit 1 # error if not matched diff -ur namazu-2.0.5/tests-ooo/namazu-3 namazu-2.0.5/tests/namazu-3 --- namazu-2.0.5/tests-ooo/namazu-3 Sun Feb 27 16:42:04 2000 +++ namazu-2.0.5/tests/namazu-3 Fri Sep 29 15:31:24 2000 @@ -13,6 +13,9 @@ # Check the number of retrieved documents. cd ../src +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG hitnum=`./namazu -c namazu ../tests/idx4` echo "docnum:" $docnum, "hitnum:" $hitnum >> $LOG test "$docnum" != "$hitnum" && exit 1 # error if not matched diff -ur namazu-2.0.5/tests-ooo/namazu-4 namazu-2.0.5/tests/namazu-4 --- namazu-2.0.5/tests-ooo/namazu-4 Sun Feb 27 16:45:51 2000 +++ namazu-2.0.5/tests/namazu-4 Fri Sep 29 15:31:31 2000 @@ -13,6 +13,9 @@ # Check the number of retrieved documents. cd ../src +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG hitnum=`./namazu -c xyzzy ../tests/idx7` echo "docnum:" $docnum, "hitnum:" $hitnum >> $LOG test "$docnum" != "$hitnum" && exit 1 # error if not matched diff -ur namazu-2.0.5/tests-ooo/namazu-5 namazu-2.0.5/tests/namazu-5 --- namazu-2.0.5/tests-ooo/namazu-5 Fri Apr 7 10:48:22 2000 +++ namazu-2.0.5/tests/namazu-5 Fri Sep 29 15:51:24 2000 @@ -6,6 +6,9 @@ docnum=`perl -lne 'print $1 if /^files (\d+)/' idx1/NMZ.status` cd ../src +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG # No query, no results. # FIXME: Is it a good behavior? diff -ur namazu-2.0.5/tests-ooo/namazu-6 namazu-2.0.5/tests/namazu-6 --- namazu-2.0.5/tests-ooo/namazu-6 Sun Mar 12 15:16:25 2000 +++ namazu-2.0.5/tests/namazu-6 Fri Sep 29 15:51:45 2000 @@ -27,6 +27,9 @@ cat $M1 $M3 > $M13 cat $M2 $M3 > $M23 cat $M1 $M2 $M3 > $M123 +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG # # Check WORD searching. diff -ur namazu-2.0.5/tests-ooo/namazu-7 namazu-2.0.5/tests/namazu-7 --- namazu-2.0.5/tests-ooo/namazu-7 Wed Apr 26 11:44:57 2000 +++ namazu-2.0.5/tests/namazu-7 Fri Sep 29 15:51:53 2000 @@ -8,6 +8,10 @@ # All parts should have "test". cd ../src +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG + hitnum=`./namazu -c test ../tests/idx9` echo "docnum:" $docnum, "hitnum:" $hitnum >> $LOG test "$docnum" != "$hitnum" && exit 1 # error if not matched diff -ur namazu-2.0.5/tests-ooo/namazu-8 namazu-2.0.5/tests/namazu-8 --- namazu-2.0.5/tests-ooo/namazu-8 Wed Apr 26 11:30:52 2000 +++ namazu-2.0.5/tests/namazu-8 Fri Sep 29 15:52:00 2000 @@ -6,6 +6,10 @@ # `amarok' should be found. cd ../src +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG + ./namazu -l 'amarok' ../tests/idx10 | grep '1\.html#quux' > /dev/null || exit 1 # `xyzzy' should NOT be found. diff -ur namazu-2.0.5/tests-ooo/namazu-9 namazu-2.0.5/tests/namazu-9 --- namazu-2.0.5/tests-ooo/namazu-9 Fri Jun 16 15:08:34 2000 +++ namazu-2.0.5/tests/namazu-9 Fri Sep 29 15:52:09 2000 @@ -16,6 +16,9 @@ unset LC_MESSAGES cd ../src +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG # Tests for MaxHit. # foo => 1 page indexed. diff -ur namazu-2.0.5/tests-ooo/namazu-cgi-1 namazu-2.0.5/tests/namazu-cgi-1 --- namazu-2.0.5/tests-ooo/namazu-cgi-1 Mon Apr 10 13:07:26 2000 +++ namazu-2.0.5/tests/namazu-cgi-1 Fri Sep 29 15:52:40 2000 @@ -15,6 +15,10 @@ export SCRIPT_NAME QUERY_STRING cd ../src +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG + hitnum=`./namazu.cgi | perl -ne 'print $1 if /(\d+)/'` rm -f $tmprc diff -ur namazu-2.0.5/tests-ooo/namazu-cgi-2 namazu-2.0.5/tests/namazu-cgi-2 --- namazu-2.0.5/tests-ooo/namazu-cgi-2 Mon Apr 10 13:07:26 2000 +++ namazu-2.0.5/tests/namazu-cgi-2 Fri Sep 29 15:53:19 2000 @@ -16,6 +16,9 @@ SCRIPT_NAME='namazu.cgi' QUERY_STRING='query=namazu&idxname=idx1&idxname=idx2' export SCRIPT_NAME QUERY_STRING +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG cd ../src hitnum=`./namazu.cgi | perl -ne 'print $1 if /(\d+)/'` diff -ur namazu-2.0.5/tests-ooo/namazu-cgi-3 namazu-2.0.5/tests/namazu-cgi-3 --- namazu-2.0.5/tests-ooo/namazu-cgi-3 Mon Apr 10 13:07:26 2000 +++ namazu-2.0.5/tests/namazu-cgi-3 Fri Sep 29 15:53:31 2000 @@ -14,6 +14,9 @@ cd ../src SCRIPT_NAME='namazu.cgi' +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG for query in '%3C' '%3E' '%3C%3E' '%3E%3C' '%26' '%22' '%3C%22%26%3E' \ '<' '>' '<>' '><' # '&' '"' '<"&>' \ diff -ur namazu-2.0.5/tests-ooo/namazu-cgi-4 namazu-2.0.5/tests/namazu-cgi-4 --- namazu-2.0.5/tests-ooo/namazu-cgi-4 Fri Jun 16 15:08:34 2000 +++ namazu-2.0.5/tests/namazu-cgi-4 Fri Sep 29 15:53:45 2000 @@ -26,6 +26,9 @@ REMOTE_HOST='foo.bar.jp' REMOTE_ADDR='1.2.3.4' export REMOTE_HOST REMOTE_ADDR +echo '# -----------------------' >> $LOG +echo "# $0 " >> $LOG +echo '# -----------------------' >> $LOG cd ../src