added openxml test

This commit is contained in:
Jean-Francois Dockes 2018-12-27 17:55:53 +01:00
parent 2bd4b5ef4f
commit 07d80a7baf
2 changed files with 24 additions and 0 deletions

18
tests/openxml/openxml.sh Normal file
View File

@ -0,0 +1,18 @@
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
(
recollq author:ben '"Consideration of the high correlation"'
recollq '"The Circassian Education Foundation"' date:2008-01-20
recollq author:"Johnny Walker" '"Thin Lizzy"'
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult

6
tests/openxml/openxml.txt Executable file
View File

@ -0,0 +1,6 @@
1 results
application/vnd.openxmlformats-officedocument.wordprocessingml.document [file:///home/dockes/projets/fulltext/testrecoll/opxml/Missionaries.docx] [Missionaries.docx] 20328 bytes
1 results
application/vnd.openxmlformats-officedocument.presentationml.presentation [file:///home/dockes/projets/fulltext/testrecoll/opxml/College_Application_Process_1_18_08.pptx] [College_Application_Process_1_18_08.pptx] 713280 bytes
1 results
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet [file:///home/dockes/projets/fulltext/testrecoll/opxml/GuitarHero2_Helper.xlsx] [GuitarHero2_Helper.xlsx] 17147 bytes