|
a/tests/boolean/boolean.sh |
|
b/tests/boolean/boolean.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 |
recollq 'boolean_uniqueterm One OR Two -Three' 2> $mystderr |
|
9 |
recollq 'boolean_uniqueterm One OR Two -Three'
|
9 |
egrep -v '^Recoll query: ' > $mystdout
|
|
|
10 |
|
10 |
|
11 |
diff -w ${myname}.txt 2>> $mystderr |
|
|
|
12 |
egrep -v '^Recoll query: ' >> $mystdout
|
11 |
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
|
|
|
12 |
|
|
|
13 |
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
|
13 |
|
14 |
|
14 |
checkresult
|
15 |
checkresult
|