add epub test

This commit is contained in:
Jean-Francois Dockes 2012-10-12 13:37:23 +02:00
parent 6fa1d6c0a8
commit da4e576330
4 changed files with 28 additions and 6 deletions

View File

@ -1,10 +1,10 @@
1 results
text/html [file:///home/dockes/projets/fulltext/testrecoll/chm/Nokia_Nseries_Help_jpn.chm] [デジタル著作権管理(DRM)] 2912 bytes
text/html [file:///home/dockes/projets/fulltext/testrecoll/chm/Nokia_Nseries_Help_jpn.chm] [デジタル著作権管理(DRM)] 2948 bytes
1 results
text/html [file:///home/dockes/projets/fulltext/testrecoll/chm/soundrec.chm] [Superposer (mixer) des fichiers son] 2243 bytes
text/html [file:///home/dockes/projets/fulltext/testrecoll/chm/soundrec.chm] [Superposer (mixer) des fichiers son] 2279 bytes
1 results
text/html [file:///home/dockes/projets/fulltext/testrecoll/chm/Django-1.1a1-r9905.chm] [User authentication in Django] 115143 bytes
text/html [file:///home/dockes/projets/fulltext/testrecoll/chm/Django-1.1a1-r9905.chm] [User authentication in Django] 115179 bytes
1 results
text/html [file:///home/dockes/projets/fulltext/testrecoll/chm/PMGlossary.chm] [Project Management Glossary: P09] 64667 bytes
text/html [file:///home/dockes/projets/fulltext/testrecoll/chm/PMGlossary.chm] [Project Management Glossary: P09] 64703 bytes
1 results
text/html [file:///home/dockes/projets/fulltext/testrecoll/chm/2006Susla-handbookCriticalCareDrugTherapy.CHM] [Ovid: Handbook of Critical Care Drug Therapy] 124293 bytes
text/html [file:///home/dockes/projets/fulltext/testrecoll/chm/2006Susla-handbookCriticalCareDrugTherapy.CHM] [Ovid: Handbook of Critical Care Drug Therapy] 124329 bytes

16
tests/epub/epub.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
(
recollq '"Philip K Dick 1962"'
recollq '"fatality. Miss Laura Chase, 25,"'
recollq '"Catherine trembled from head to foot"'
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult

6
tests/epub/epub.txt Normal file
View File

@ -0,0 +1,6 @@
1 results
text/html [file:///home/dockes/projets/fulltext/testrecoll/epub/HC-100-1e.epub] [HC-100-2.xhtml] 2388 bytes
1 results
text/html [file:///home/dockes/projets/fulltext/testrecoll/epub/atkins.epub] [atkins.epub] 259641 bytes
1 results
text/html [file:///home/dockes/projets/fulltext/testrecoll/epub/pg121.epub] [Northanger Abbey, by Jane Austen (1803)] 52226 bytes

View File

@ -1,2 +1,2 @@
1 results
text/html [file:///home/dockes/projets/fulltext/testrecoll/info/gpgme.info] [gpgme.info / Preparation / Largefile Support (LFS)] 4145 bytes
text/html [file:///home/dockes/projets/fulltext/testrecoll/info/gpgme.info] [gpgme.info / Preparation / Largefile Support (LFS)] 4225 bytes