test: okular notes
This commit is contained in:
parent
17542969a5
commit
94989747ba
@ -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
|
||||
|
||||
14
tests/okular-notes/okular-notes.sh
Executable file
14
tests/okular-notes/okular-notes.sh
Executable 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
|
||||
2
tests/okular-notes/okular-notes.txt
Normal file
2
tests/okular-notes/okular-notes.txt
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user