This commit is contained in:
Jean-Francois Dockes 2012-05-21 12:02:17 +02:00
parent ca5546b203
commit 1b397b46c5
2 changed files with 23 additions and 0 deletions

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

@ -0,0 +1,16 @@
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
(
recollq xmlhuunique
recollq xmlzhuunique
recollq xmlzshuunique
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult

7
tests/xml/xml.txt Normal file
View File

@ -0,0 +1,7 @@
1 results
text/xml [file:///home/dockes/projets/fulltext/testrecoll/xml/vfc13.xml] [vfc13.xml] 5331 bytes
1 results
text/xml [file:///home/dockes/projets/fulltext/testrecoll/xml/vfc13z.xml.gz] [vfc13z.xml.gz] 5332 bytes
2 results
application/xml [file:///home/dockes/projets/fulltext/testrecoll/xml/vfc13z.suff] [vfc13z.suff] 5333 bytes
application/xml [file:///home/dockes/projets/fulltext/testrecoll/xml/vfc13] [vfc13] 5333 bytes