From 07d80a7baffe48419a6d40ac054675ac9a7d219d Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Thu, 27 Dec 2018 17:55:53 +0100 Subject: [PATCH] added openxml test --- tests/openxml/openxml.sh | 18 ++++++++++++++++++ tests/openxml/openxml.txt | 6 ++++++ 2 files changed, 24 insertions(+) create mode 100644 tests/openxml/openxml.sh create mode 100755 tests/openxml/openxml.txt diff --git a/tests/openxml/openxml.sh b/tests/openxml/openxml.sh new file mode 100644 index 00000000..90298065 --- /dev/null +++ b/tests/openxml/openxml.sh @@ -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 diff --git a/tests/openxml/openxml.txt b/tests/openxml/openxml.txt new file mode 100755 index 00000000..90221808 --- /dev/null +++ b/tests/openxml/openxml.txt @@ -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