Namazu-devel-ja(旧)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: & in href



On Wed, 26 Dec 2001 01:59:28 +0900
In article <20011226014208.7497.TIETEW@xxxxxxxxxx>
[[namazu-devel-ja] Re: &amp; in href]
Tietew <tietew@xxxxxxxxxx> wrote:

test script の訂正です。test になっていませんでした m(__;)m
# ちゃんと出力調べろ>俺

--- mknmz-17.orig       Wed Dec 26 07:58:29 2001
+++ mknmz-17    Wed Dec 26 07:58:57 2001
@@ -27,5 +27,5 @@
 done

-../scripts/mknmz -O $IDX -r 's/A(\d+)\.txt$/test?foo=<>&bar=$1/' \
+../scripts/mknmz -O $IDX -r 's/A(\d+)\.txt$/test?foo=<>&bar=$1/' -U \
     $TMPDATA >> $LOG 2>&1


--- namazu-cgi-10.orig  Wed Dec 26 01:57:38 2001
+++ namazu-cgi-10       Wed Dec 26 08:04:33 2001
@@ -18,5 +18,5 @@
 # check "query"
 SCRIPT_NAME='namazu.cgi'
-QUERY_STRING='query=namazu'
+QUERY_STRING='query=namazu&max=40'
 export SCRIPT_NAME QUERY_STRING

@@ -27,3 +27,10 @@
         echo $RESULT >> $LOG
         exit 1
+fi
+
+RESULT=`./namazu.cgi | grep '&amp;max=40&amp;whence=40' | wc -l`
+if [ $RESULT -ne 1 ]
+then
+	echo $RESULT >> $LOG
+	exit 1
 fi



―[ Tietew ]――――――――――――――――――――――――――――
Mail: tietew@xxxxxxxxxx / tietew@xxxxxxxx
Web : http://www.tietew.net/  (Tietew Windows Lab.)
PGP fingerprint: 26CB 71BB B595 09C4 0153  81C4 773C 963A D51B 8CAA