recoll/tests/info/info.sh
Jean-Francois Dockes fea94afcdd fix ref test results
2016-06-20 16:35:49 +02:00

22 lines
655 B
Bash
Executable File

#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
# Note: file -i returns application/octet-stream for
# somefile.info-1. xdg-mime query filetype returns text/plain. Recoll
# 1.22 and later return several results for the following query, one
# for the info file, and others in the somefile.info-xx files, as
# text/plain files. Previous versions only returned the info file,
# which was better, but I'm not sure that we can do something about
# it.
recollq '"GPGME is compiled with largefile support by default"' 2> $mystderr |
egrep -v '^Recoll query: ' > $mystdout
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult