test: added html field extraction test
This commit is contained in:
parent
4af5b9b88d
commit
36a97cb8aa
@ -8,7 +8,11 @@ initvariables $0
|
||||
recollq QMapConstIterator
|
||||
recollq Qtextedit Widget Provides Powerful Single-Page
|
||||
recollq '"This is the Mysql reference manual"'
|
||||
# Tests that the charset spec is correctly recognised inside badhtml.html
|
||||
recollq -a 'etonne badhtml'
|
||||
# Tests field extraction/storage and indexing
|
||||
recollq -m -q "testfield:testfieldvalue" | egrep 'results|^text/html|^testfield ='
|
||||
|
||||
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
|
||||
|
||||
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
|
||||
|
||||
@ -7,3 +7,6 @@ text/html [file:///home/dockes/projets/fulltext/testrecoll/html/mysqlmanualSmall
|
||||
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
|
||||
1 results
|
||||
text/html [file:///home/dockes/projets/fulltext/testrecoll/html/htmlfield.html] [htmlfield.html] 137 bytes
|
||||
testfield = testfieldvalue
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user