add html charset test

This commit is contained in:
Jean-Francois Dockes 2011-06-24 10:40:29 +02:00
parent b569c410f2
commit 8fe524bd7f
2 changed files with 8 additions and 7 deletions

View File

@ -4,13 +4,12 @@ topdir=`dirname $0`/..
. $topdir/shared.sh . $topdir/shared.sh
initvariables $0 initvariables $0
(
recollq QMapConstIterator 2> $mystderr | recollq QMapConstIterator
egrep -v '^Recoll query: ' > $mystdout recollq Qtextedit Widget Provides Powerful Single-Page
recollq Qtextedit Widget Provides Powerful Single-Page 2>> $mystderr | recollq '"This is the Mysql reference manual"'
egrep -v '^Recoll query: ' >> $mystdout recollq -a 'etonne badhtml'
recollq '"This is the Mysql reference manual"' 2>> $mystderr | ) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
egrep -v '^Recoll query: ' >> $mystdout
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1 diff -w ${myname}.txt $mystdout > $mydiffs 2>&1

View File

@ -5,3 +5,5 @@ text/html [file:///home/dockes/projets/fulltext/testrecoll/html/qtextedit.html]
2 results 2 results
text/html [file:///home/dockes/projets/fulltext/testrecoll/html/mysqlmanualSmall.html] [MySQL 3.23, 4.0, 4.1 Reference Manual] 1480354 bytes text/html [file:///home/dockes/projets/fulltext/testrecoll/html/mysqlmanualSmall.html] [MySQL 3.23, 4.0, 4.1 Reference Manual] 1480354 bytes
text/html [file:///home/dockes/projets/fulltext/testrecoll/html/mysqlmanual.html] [MySQL 3.23, 4.0, 4.1 Reference Manual] 8136414 bytes text/html [file:///home/dockes/projets/fulltext/testrecoll/html/mysqlmanual.html] [MySQL 3.23, 4.0, 4.1 Reference Manual] 8136414 bytes
1 results
text/html [file:///home/dockes/projets/fulltext/testrecoll/html/badhtml.html] [bla bla "bad quotes] 236 bytes