added orgmode test
This commit is contained in:
parent
e8deaf619b
commit
b405f18835
14
tests/orgmode/orgmode.sh
Executable file
14
tests/orgmode/orgmode.sh
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
topdir=`dirname $0`/..
|
||||||
|
. $topdir/shared.sh
|
||||||
|
|
||||||
|
initvariables $0
|
||||||
|
|
||||||
|
(
|
||||||
|
recollq -S url 'title:"law and legal code versioned on github"'
|
||||||
|
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
|
||||||
|
|
||||||
|
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
|
||||||
|
|
||||||
|
checkresult
|
||||||
2
tests/orgmode/orgmode.txt
Normal file
2
tests/orgmode/orgmode.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
1 results
|
||||||
|
text/plain [file:///home/dockes/projets/fulltext/testrecoll/orgmode/orgmode-example.org] [law and legal code versioned on github] 370 bytes
|
||||||
@ -1,6 +1,10 @@
|
|||||||
# @(#$Id: shared.sh,v 1.4 2009-01-06 18:47:33 dockes Exp $ (C) 2006 J.F.Dockes
|
# @(#$Id: shared.sh,v 1.4 2009-01-06 18:47:33 dockes Exp $ (C) 2006 J.F.Dockes
|
||||||
# shared code and variables for all tests
|
# shared code and variables for all tests
|
||||||
|
|
||||||
|
# TMPDIR has to be something which belongs to the user because of pdftk
|
||||||
|
# issues (see runtests.sh)
|
||||||
|
export TMPDIR=$HOME/tmp
|
||||||
|
|
||||||
RECOLL_TESTDATA=${RECOLL_TESTDATA:-/home/dockes/projets/fulltext/testrecoll}
|
RECOLL_TESTDATA=${RECOLL_TESTDATA:-/home/dockes/projets/fulltext/testrecoll}
|
||||||
|
|
||||||
# All source'rs should set topdir as a relative path from their location to
|
# All source'rs should set topdir as a relative path from their location to
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user