New tests for new noContentSuffixes+- and skippedNames+- variables

This commit is contained in:
Jean-Francois Dockes
2017-02-22 16:06:45 +01:00
parent 50ee88adce
commit 66270c6270
7 changed files with 56 additions and 12 deletions
+11 -3
View File
@@ -5,9 +5,17 @@ topdir=`dirname $0`/..
initvariables $0
# Data in text files with skipped suffixes should not be indexed
recollq Badsuffixes_unique 2> $mystderr |
egrep -v '^Recoll query: ' > $mystdout
(
# Data in text files with skipped suffixes should not be indexed,
# except that .md5 is in noContentSuffixes- -> 1 result,
# badsuffilename.md5
recollq Badsuffixes_unique
# .nosuff is added by noContentSuffixes+. No result for you
# notreallybad.nosuff
recollq nosuffUnique
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
+3 -1
View File
@@ -1 +1,3 @@
0 results
1 results
text/plain [file:///home/dockes/projets/fulltext/testrecoll/badsuffs/badsufffilename.md5] [badsufffilename.md5] 19 bytes
0 results