test: okular notes

This commit is contained in:
Jean-Francois Dockes 2012-01-23 21:19:02 +01:00
parent 17542969a5
commit 94989747ba
3 changed files with 20 additions and 0 deletions

View File

@ -6,6 +6,10 @@
# Values set in this file will override the system-wide values for the file
# with the same name in the central directory. The syntax for setting
# values is identical.
[/home/dockes/projets/fulltext/testrecoll/okular-notes]
.xml = application/x-okular-notes
[/home/dockes/projets/fulltext/testrecoll/man]
.0p = text/x-man
.1 = text/x-man

View File

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

View File

@ -0,0 +1,2 @@
1 results
application/x-okular-notes [file:///home/dockes/projets/fulltext/testrecoll/okular-notes/76603.Laboratoires_agrees.pdf.xml] [Okular notes about: /net/y/usr/home/dockes/projets/enbor/docs/Laboratoires_agrees.pdf] 1758 bytes