more tests
This commit is contained in:
parent
1492b5fff5
commit
5146fc75cf
17
tests/duplicates/duplicates.sh
Executable file
17
tests/duplicates/duplicates.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
topdir=`dirname $0`/..
|
||||
. $topdir/shared.sh
|
||||
|
||||
initvariables $0
|
||||
|
||||
(
|
||||
recollq -S url -C -q duplicate_uniqueterm
|
||||
recollq -S url -q duplicate_uniqueterm
|
||||
recollq -S url -C -q '"STARTTLS is supported in both POP and IMAP"'
|
||||
recollq -S url -q '"STARTTLS is supported in both POP and IMAP"'
|
||||
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
|
||||
|
||||
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
|
||||
|
||||
checkresult
|
||||
10
tests/duplicates/duplicates.txt
Normal file
10
tests/duplicates/duplicates.txt
Normal file
@ -0,0 +1,10 @@
|
||||
1 results
|
||||
text/plain [file:///home/dockes/projets/fulltext/testrecoll/duplicates/copy1.txt] [copy1.txt] 21 bytes
|
||||
2 results
|
||||
text/plain [file:///home/dockes/projets/fulltext/testrecoll/duplicates/copy1.txt] [copy1.txt] 21 bytes
|
||||
text/plain [file:///home/dockes/projets/fulltext/testrecoll/duplicates/copy2.txt] [copy2.txt] 21 bytes
|
||||
1 results
|
||||
text/html [file:///home/dockes/projets/fulltext/testrecoll/duplicates/fetchmail-features.html] [Fetchmail Feature List] 9184 bytes
|
||||
2 results
|
||||
text/html [file:///home/dockes/projets/fulltext/testrecoll/duplicates/fetchmail-features.html] [Fetchmail Feature List] 9184 bytes
|
||||
text/html [file:///home/dockes/projets/fulltext/testrecoll/duplicates/fetchmail.html] [Fetchmail Feature List] 9184 bytes
|
||||
14
tests/fb2/fb2.sh
Executable file
14
tests/fb2/fb2.sh
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
topdir=`dirname $0`/..
|
||||
. $topdir/shared.sh
|
||||
|
||||
initvariables $0
|
||||
|
||||
(
|
||||
recollq -S url '"the Foreign Enlistment Act, and the Alabama case"'
|
||||
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
|
||||
|
||||
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
|
||||
|
||||
checkresult
|
||||
2
tests/fb2/fb2.txt
Normal file
2
tests/fb2/fb2.txt
Normal file
@ -0,0 +1,2 @@
|
||||
1 results
|
||||
text/x-fictionbook [file:///home/dockes/projets/fulltext/testrecoll/fb2/capKettle.fb2] [The Adventures of Captain Kettle] 2662 bytes
|
||||
15
tests/kword/kword.sh
Executable file
15
tests/kword/kword.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
topdir=`dirname $0`/..
|
||||
. $topdir/shared.sh
|
||||
|
||||
initvariables $0
|
||||
|
||||
(
|
||||
recollq -S url '"Ceci est un essai de document kword"'
|
||||
recollq -S url '"Summary of the P-LILEC"'
|
||||
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
|
||||
|
||||
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
|
||||
|
||||
checkresult
|
||||
4
tests/kword/kword.txt
Normal file
4
tests/kword/kword.txt
Normal file
@ -0,0 +1,4 @@
|
||||
1 results
|
||||
application/x-kword [file:///home/dockes/projets/fulltext/testrecoll/kword/essai.kwd] [Un essai avec Kword] 3951 bytes
|
||||
1 results
|
||||
application/x-kword [file:///home/dockes/projets/fulltext/testrecoll/kword/p-lilec1.kwd] [p-lilec1.kwd] 7075 bytes
|
||||
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
export TMPDIR=$HOME/tmp
|
||||
|
||||
fatal()
|
||||
{
|
||||
echo $*;exit 1
|
||||
|
||||
16
tests/webarchives/webarchives.sh
Executable file
16
tests/webarchives/webarchives.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
topdir=`dirname $0`/..
|
||||
. $topdir/shared.sh
|
||||
|
||||
initvariables $0
|
||||
|
||||
(
|
||||
recollq -S url '"Le témoignage émouvant de Loubna Abidar"'
|
||||
recollq -S url '"ils ont declare que ma mere etait communiste"'
|
||||
recollq -S url '"We borrow a lot of code from other packages"' dir:webarchives
|
||||
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
|
||||
|
||||
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
|
||||
|
||||
checkresult
|
||||
6
tests/webarchives/webarchives.txt
Normal file
6
tests/webarchives/webarchives.txt
Normal file
@ -0,0 +1,6 @@
|
||||
1 results
|
||||
application/x-mimehtml [file:///home/dockes/projets/fulltext/testrecoll/webarchives/Le Figaro - Actualités.mhtml] [Le Figaro - Actualit?s] 2368156 bytes
|
||||
1 results
|
||||
application/x-mimehtml [file:///home/dockes/projets/fulltext/testrecoll/webarchives/01-timbl-in-liberation.mht] [« Je suis toujours inquiet pour le Web »- Ecrans] 527597 bytes
|
||||
1 results
|
||||
text/html [file:///home/dockes/projets/fulltext/testrecoll/webarchives/RECOLL.war] [RECOLL: a personal text search system for Unix/Linux] 7017 bytes
|
||||
14
tests/wordperfect/wordperfect.sh
Executable file
14
tests/wordperfect/wordperfect.sh
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
topdir=`dirname $0`/..
|
||||
. $topdir/shared.sh
|
||||
|
||||
initvariables $0
|
||||
|
||||
(
|
||||
recollq -S url '"A review. Atmospheric Environment 14:983-1011"'
|
||||
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
|
||||
|
||||
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
|
||||
|
||||
checkresult
|
||||
2
tests/wordperfect/wordperfect.txt
Normal file
2
tests/wordperfect/wordperfect.txt
Normal file
@ -0,0 +1,2 @@
|
||||
1 results
|
||||
application/vnd.wordperfect [file:///home/dockes/projets/fulltext/testrecoll/wordperfect/acenaph.wpd] [acenaph.wpd] 45346 bytes
|
||||
Loading…
x
Reference in New Issue
Block a user