more tests

This commit is contained in:
Jean-Francois Dockes
2020-10-01 09:30:02 +02:00
parent 1492b5fff5
commit 5146fc75cf
11 changed files with 102 additions and 0 deletions
+17
View 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
View 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