|
a/tests/skipped/skipped.sh |
|
b/tests/skipped/skipped.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 |
(
|
|
|
9 |
# skippedPaths:
|
|
|
10 |
# shouldbeskipped.txt should be skipped because
|
|
|
11 |
# skipped/reallyskipped/ is in skippedPaths, but the query gets 1
|
|
|
12 |
# result because of rlyskipped/shouldnotbeskipped.txt
|
|
|
13 |
# 1 res: shouldnotbeskipped.txt
|
8 |
recollq ShouldbeSkippedUnique 2> $mystderr |
|
14 |
recollq ShouldbeSkippedUnique
|
|
|
15 |
|
|
|
16 |
# skippedNames
|
|
|
17 |
# recollrc is in the default skippedNames list, but should be the
|
|
|
18 |
# result here because 'recollrc' is in the local config
|
|
|
19 |
# skippedNames-
|
|
|
20 |
# 1 res: skipped/recollrc
|
|
|
21 |
recollq recollrcUnique
|
|
|
22 |
|
|
|
23 |
# skippedNames
|
|
|
24 |
# Should be skipped because notinskippednames is in skippedNames+
|
|
|
25 |
# 0 res for skipped/notinskippednames
|
|
|
26 |
recollq -q notinskippedNamesUnique
|
|
|
27 |
|
9 |
egrep -v '^Recoll query: ' > $mystdout
|
28 |
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
|
10 |
|
29 |
|
11 |
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
|
30 |
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
|
12 |
|
31 |
|
13 |
checkresult
|
32 |
checkresult
|