|
a/tests/info/info.sh |
|
b/tests/info/info.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 |
# Note: file -i returns application/octet-stream for
|
|
|
9 |
# somefile.info-1. xdg-mime query filetype returns text/plain. Recoll
|
|
|
10 |
# 1.22 and later return several results for the following query, one
|
|
|
11 |
# for the info file, and others in the somefile.info-xx files, as
|
|
|
12 |
# text/plain files. Previous versions only returned the info file,
|
|
|
13 |
# which was better, but I'm not sure that we can do something about
|
|
|
14 |
# it.
|
|
|
15 |
|
8 |
recollq '"GPGME is compiled with largefile support by default"' 2> $mystderr |
|
16 |
recollq '"GPGME is compiled with largefile support by default"' 2> $mystderr |
|
9 |
egrep -v '^Recoll query: ' > $mystdout
|
17 |
egrep -v '^Recoll query: ' > $mystdout
|
10 |
|
18 |
|
11 |
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
|
19 |
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
|
12 |
|
20 |
|