*** empty log message ***

This commit is contained in:
dockes 2007-02-14 11:52:28 +00:00
parent e58dee2314
commit f67d7617cf
36 changed files with 264 additions and 13 deletions

View File

@ -1,3 +1,3 @@
Recoll query: ((emi PHRASE 6 is PHRASE 6 releasing PHRASE 6 albums PHRASE 6 for PHRASE 6 download)) Recoll query: ((emi PHRASE 6 is PHRASE 6 releasing PHRASE 6 albums PHRASE 6 for PHRASE 6 download))
1 results 1 results
100% text/html 10825 bytes [file:///home/dockes/projets/fulltext/testrecoll/Maildir/a.tager/cur/1134632779.000001.mbox:2,S] [00/05/05 - Mix&Match Meeting in the Zydeco room] text/html [file:///home/dockes/projets/fulltext/testrecoll/Maildir/a.tager/cur/1134632779.000001.mbox:2,S] [00/05/05 - Mix&Match Meeting in the Zydeco room] 10825 bytes

View File

@ -1,4 +1,4 @@
Recoll query: (((beatles:(wqf=11) OR lennon:(wqf=11)) AND (live:(wqf=11) OR unplugged:(wqf=11)))) Recoll query: (((beatles:(wqf=11) OR lennon:(wqf=11)) AND (live:(wqf=11) OR unplugged:(wqf=11))))
2 results 2 results
53% text/plain 18 bytes [file:///home/dockes/projets/fulltext/testrecoll/andor/bu.txt] [bu.txt] text/plain [file:///home/dockes/projets/fulltext/testrecoll/andor/bu.txt] [bu.txt] 18 bytes
46% text/plain 12 bytes [file:///home/dockes/projets/fulltext/testrecoll/andor/leli.txt] [leli.txt] text/plain [file:///home/dockes/projets/fulltext/testrecoll/andor/leli.txt] [leli.txt] 12 bytes

View File

@ -1,8 +1,8 @@
Recoll query: (badsufffilename:(wqf=11)) Recoll query: (badsufffilename:(wqf=11))
6 results 6 results
99% 19 bytes [file:///home/dockes/projets/fulltext/testrecoll/badsuffs/badsufffilename.tgz] [badsufffilename.tgz] [file:///home/dockes/projets/fulltext/testrecoll/badsuffs/badsufffilename.tgz] [badsufffilename.tgz] 19 bytes
99% 19 bytes [file:///home/dockes/projets/fulltext/testrecoll/badsuffs/badsufffilename.tar.bz2] [badsufffilename.tar.bz2] [file:///home/dockes/projets/fulltext/testrecoll/badsuffs/badsufffilename.tar.bz2] [badsufffilename.tar.bz2] 19 bytes
99% 19 bytes [file:///home/dockes/projets/fulltext/testrecoll/badsuffs/badsufffilename.log.gz] [badsufffilename.log.gz] [file:///home/dockes/projets/fulltext/testrecoll/badsuffs/badsufffilename.log.gz] [badsufffilename.log.gz] 19 bytes
99% 19 bytes [file:///home/dockes/projets/fulltext/testrecoll/badsuffs/badsufffilename.md5] [badsufffilename.md5] [file:///home/dockes/projets/fulltext/testrecoll/badsuffs/badsufffilename.md5] [badsufffilename.md5] 19 bytes
99% 19 bytes [file:///home/dockes/projets/fulltext/testrecoll/badsuffs/badsufffilename.tar.gz] [badsufffilename.tar.gz] [file:///home/dockes/projets/fulltext/testrecoll/badsuffs/badsufffilename.tar.gz] [badsufffilename.tar.gz] 19 bytes
99% 19 bytes [file:///home/dockes/projets/fulltext/testrecoll/badsuffs/badsufffilename.tbz] [badsufffilename.tbz] [file:///home/dockes/projets/fulltext/testrecoll/badsuffs/badsufffilename.tbz] [badsufffilename.tbz] 19 bytes

12
tests/boolean/boolean.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
recollq 'boolean_uniqueterm One or Two -Three' > $mystdout 2> $mystderr
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult

View File

@ -0,0 +1,5 @@
Recoll query: (((boolean_uniqueterm:(wqf=11) AND (one:(wqf=11) OR two:(wqf=11))) AND_NOT three:(wqf=11)))
3 results
text/plain [file:///home/dockes/projets/fulltext/testrecoll/boolean/12.txt] [12.txt] 27 bytes
text/plain [file:///home/dockes/projets/fulltext/testrecoll/boolean/2.txt] [2.txt] 23 bytes
text/plain [file:///home/dockes/projets/fulltext/testrecoll/boolean/1.txt] [1.txt] 23 bytes

22
tests/delete/delete.sh Executable file
View File

@ -0,0 +1,22 @@
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
tstfile=${tstdata}/delete/tobedeleted.txt
# Create file to be deleted, index, query
echo "DeletedFileUnique" > $tstfile
recollindex >> $mystderr 2>&1
recollq DeletedFileUnique > $mystdout 2> $mystderr
# Delete file and query again
rm -f ${tstdata}/delete/tobedeleted.txt
recollindex >> $mystderr 2>&1
recollq DeletedFileUnique >> $mystdout 2>> $mystderr
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult

5
tests/delete/delete.txt Normal file
View File

@ -0,0 +1,5 @@
Recoll query: (deletedfileunique:(wqf=11))
1 results
text/plain [file:///home/dockes/projets/fulltext/testrecoll/delete/tobedeleted.txt] [tobedeleted.txt] 18 bytes
Recoll query: (deletedfileunique:(wqf=11))
0 results

View File

@ -0,0 +1,12 @@
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
recollq DirWithBlanksUnique > $mystdout 2> $mystderr
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult

View File

@ -0,0 +1,3 @@
Recoll query: (dirwithblanksunique:(wqf=11))
1 results
text/plain [file:///home/dockes/projets/fulltext/testrecoll/dir with blanks/dwb.txt] [dwb.txt] 20 bytes

12
tests/djvu/djvu.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
recollq aharonov algorithm neural> $mystdout 2> $mystderr
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult

3
tests/djvu/djvu.txt Normal file
View File

@ -0,0 +1,3 @@
Recoll query: ((aharonov:(wqf=11) AND (algorithm:(wqf=11) OR algorithms OR algorithmic OR algorithme) AND neural:(wqf=11)))
1 results
image/vnd.djvu [file:///home/dockes/projets/fulltext/testrecoll/djvu/Aharonov-BarkiMeilijsonRuppin.djvu] [Who Does What? A Novel Algorithm to Determine Function Localization] 74911 bytes

12
tests/dvi/dvi.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
recollq 'krisrose' > $mystdout 2> $mystderr
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult

3
tests/dvi/dvi.txt Normal file
View File

@ -0,0 +1,3 @@
Recoll query: ((krisrose:(wqf=11) OR krisros))
1 results
application/x-dvi [file:///home/dockes/projets/fulltext/testrecoll/dvi/xyguide.dvi] [xyguide.dvi] 313720 bytes

14
tests/lyx/lyx.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
recollq 'Bienvenue Dans Univers De Lyx' > $mystdout 2> $mystderr
recollq 'Welcome To Lyx' >> $mystdout 2>> $mystderr
recollq 'Udvozli Ont A LyX' >> $mystdout 2>> $mystderr
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult

10
tests/lyx/lyx.txt Normal file
View File

@ -0,0 +1,10 @@
Recoll query: ((bienvenue:(wqf=11) AND dans:(wqf=11) AND univers:(wqf=11) AND de:(wqf=11) AND lyx:(wqf=11)))
1 results
application/x-lyx [file:///home/dockes/projets/fulltext/testrecoll/lyx/fr_splash.lyx] [fr_splash.lyx] 3577 bytes
Recoll query: ((welcome:(wqf=11) AND to:(wqf=11) AND lyx:(wqf=11)))
2 results
application/x-lyx [file:///home/dockes/projets/fulltext/testrecoll/lyx/splash.lyx] [splash.lyx] 2974 bytes
text/plain [file:///home/dockes/projets/fulltext/testrecoll/filenames/filenames.txt] [filenames.txt] 8617039 bytes
Recoll query: ((udvozli:(wqf=11) AND ont:(wqf=11) AND a:(wqf=11) AND lyx:(wqf=11)))
1 results
application/x-lyx [file:///home/dockes/projets/fulltext/testrecoll/lyx/hu_splash.lyx] [hu_splash.lyx] 4773 bytes

12
tests/media/media.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
recollq Maldon > $mystdout 2> $mystderr
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult

3
tests/media/media.txt Normal file
View File

@ -0,0 +1,3 @@
Recoll query: (maldon:(wqf=11))
1 results
audio/mpeg [file:///home/dockes/projets/fulltext/testrecoll/media/11-maldon.mp3] [11-maldon.mp3] 5717570 bytes

12
tests/msword/msword.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
recollq '"Evenements et programme 2006"' > $mystdout 2> $mystderr
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult

3
tests/msword/msword.txt Normal file
View File

@ -0,0 +1,3 @@
Recoll query: ((evenements PHRASE 4 et PHRASE 4 programme PHRASE 4 2006))
1 results
application/msword [file:///home/dockes/projets/fulltext/testrecoll/msword/programme.doc] [programme.doc] 58880 bytes

12
tests/ooff/ooff.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
recollq OpenofficeWriter_uniqueterm > $mystdout 2> $mystderr
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult

3
tests/ooff/ooff.txt Normal file
View File

@ -0,0 +1,3 @@
Recoll query: (openofficewriter_uniqueterm:(wqf=11))
1 results
application/vnd.sun.xml.writer [file:///home/dockes/projets/fulltext/testrecoll/ooff/writer.odt] [writer.odt] 6360 bytes

12
tests/pdf/pdf.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
recollq '"sequences of moveto and lineto"' OR 'ANSIX3.4' > $mystdout 2> $mystderr
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult

4
tests/pdf/pdf.txt Normal file
View File

@ -0,0 +1,4 @@
Recoll query: (((sequences PHRASE 5 of PHRASE 5 moveto PHRASE 5 and PHRASE 5 lineto) OR ansix3.4:(wqf=11)))
2 results
application/pdf [file:///home/dockes/projets/fulltext/testrecoll/pdf/ThinkingInPostScript.pdf] [Thinking In PostScript] 846435 bytes
application/pdf [file:///home/dockes/projets/fulltext/testrecoll/pdf/linux unicode.pdf] [developerWorks: Linux | Unicode : Linux Unicode programming] 72669 bytes

12
tests/postscript/postscript.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
recollq '"Udi Manber and Sun Wu"' > $mystdout 2> $mystderr
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult

View File

@ -0,0 +1,3 @@
Recoll query: ((udi PHRASE 5 manber PHRASE 5 and PHRASE 5 sun PHRASE 5 wu))
1 results
application/postscript [file:///home/dockes/projets/fulltext/testrecoll/postscript/glimpse.ps] [glimpse.ps] 118970 bytes

12
tests/ppt/ppt.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
recollq '"plurilingues et pluriculturels"' > $mystdout 2> $mystderr
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult

3
tests/ppt/ppt.txt Normal file
View File

@ -0,0 +1,3 @@
Recoll query: ((plurilingues PHRASE 3 et PHRASE 3 pluriculturels))
1 results
application/vnd.ms-powerpoint [file:///home/dockes/projets/fulltext/testrecoll/ppt/portfolio.ppt] [portfolio.ppt] 86016 bytes

12
tests/rtf/rtf.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
recollq EQUK0401319A > $mystdout 2> $mystderr
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult

3
tests/rtf/rtf.txt Normal file
View File

@ -0,0 +1,3 @@
Recoll query: (equk0401319a:(wqf=11))
1 results
text/rtf [file:///home/dockes/projets/fulltext/testrecoll/rtf/JO28102004plaisance.rtf] [J] 117216 bytes

12
tests/scribus/scribus.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
recollq Scribus_sla_uniqueterm OR Chaturbhuja > $mystdout 2> $mystderr
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult

View File

@ -0,0 +1,4 @@
Recoll query: ((scribus_sla_uniqueterm:(wqf=11) OR chaturbhuja:(wqf=11)))
2 results
application/x-scribus [file:///home/dockes/projets/fulltext/testrecoll/scribus/Document-1.sla] [Ceci est le titre du document] 53847 bytes
application/x-scribus [file:///home/dockes/projets/fulltext/testrecoll/scribus/Prova_Scribus-1.scd] [Prova_Scribus-1.scd] 34995 bytes

View File

@ -1,4 +1,4 @@
# @(#$Id: shared.sh,v 1.1 2007-02-14 08:16:47 dockes Exp $ (C) 2006 J.F.Dockes # @(#$Id: shared.sh,v 1.2 2007-02-14 11:52:28 dockes Exp $ (C) 2006 J.F.Dockes
# shared code and variables for all tests # shared code and variables for all tests
@ -7,6 +7,7 @@ export RECOLL_CONFDIR
# Call this with the script's $0 as argument # Call this with the script's $0 as argument
initvariables() { initvariables() {
tstdata=/home/dockes/projets/fulltext/testrecoll
toptmp=${TMPDIR:-/tmp}/recolltsttmp toptmp=${TMPDIR:-/tmp}/recolltsttmp
myname=`basename $1 .sh` myname=`basename $1 .sh`
mystderr=$toptmp/${myname}.err mystderr=$toptmp/${myname}.err

View File

@ -5,7 +5,7 @@ topdir=`dirname $0`/..
initvariables $0 initvariables $0
recollq shouldbeSkippedUnique > $mystdout 2> $mystderr recollq ShouldbeSkippedUnique > $mystdout 2> $mystderr
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1 diff -w ${myname}.txt $mystdout > $mydiffs 2>&1

View File

@ -1,3 +1,3 @@
Recoll query: ((shouldbeskippedunique:(wqf=11) OR shouldbeskippeduniqu)) Recoll query: (shouldbeskippedunique:(wqf=11))
1 results 1 results
61% text/plain 48 bytes [file:///home/dockes/projets/fulltext/testrecoll/skipped/rlyskipped/shouldnotbeskipped.txt] [shouldnotbeskipped.txt] text/plain [file:///home/dockes/projets/fulltext/testrecoll/skipped/rlyskipped/shouldnotbeskipped.txt] [shouldnotbeskipped.txt] 48 bytes

12
tests/xls/xls.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
recollq Excel_UniqueTerm > $mystdout 2> $mystderr
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult

3
tests/xls/xls.txt Normal file
View File

@ -0,0 +1,3 @@
Recoll query: (excel_uniqueterm:(wqf=11))
1 results
application/vnd.ms-excel [file:///home/dockes/projets/fulltext/testrecoll/xls/landis1.xls] [landis1.xls] 8704 bytes