a/tests/badsuffs/badsuffs.sh b/tests/badsuffs/badsuffs.sh
...
...
3
topdir=`dirname $0`/..
3
topdir=`dirname $0`/..
4
. $topdir/shared.sh
4
. $topdir/shared.sh
5
5
6
initvariables $0
6
initvariables $0
7
7
8
(
8
# Data in text files with skipped suffixes should not be indexed
9
    # Data in text files with skipped suffixes should not be indexed,
9
recollq Badsuffixes_unique 2> $mystderr | 
10
    # except that .md5 is in noContentSuffixes- -> 1 result,
11
    # badsuffilename.md5
12
    recollq Badsuffixes_unique
13
14
    # .nosuff is added by noContentSuffixes+. No result for you
15
    # notreallybad.nosuff
16
    recollq nosuffUnique
17
    
10
  egrep -v '^Recoll query: ' > $mystdout
18
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
11
19
12
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
20
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
13
21
14
checkresult
22
checkresult