gnu info test script: get rid of bogus text/plain results on subfiles

This commit is contained in:
Jean-Francois Dockes 2018-11-20 16:26:10 +01:00
parent fd12341b99
commit d40af51eb5

View File

@ -14,9 +14,13 @@ initvariables $0
# it.
# It seems that later versions of xdg-mime return octet-stream so all back
# to normal
# Nope, not always: added mime type clause to fix. Using text/html
# because the result document is text/html|gnuinfo
recollq '"GPGME is compiled with largefile support by default"' 2> $mystderr |
egrep -v '^Recoll query: ' > $mystdout
(
recollq '"GPGME is compiled with largefile support by default"' \
mime:text/html
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1