diff --git a/tests/info/info.sh b/tests/info/info.sh index fb2c3397..c7f396f3 100755 --- a/tests/info/info.sh +++ b/tests/info/info.sh @@ -5,6 +5,14 @@ topdir=`dirname $0`/.. 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 --git a/tests/info/info.txt b/tests/info/info.txt index 02e011dc..d9c2ea46 100644 --- a/tests/info/info.txt +++ b/tests/info/info.txt @@ -1,2 +1,3 @@ -1 results +2 results text/html [file:///home/dockes/projets/fulltext/testrecoll/info/gpgme.info] [gpgme.info / Preparation / Largefile Support (LFS)] 4225 bytes +text/plain [file:///home/dockes/projets/fulltext/testrecoll/info/gpgme.info-1] [gpgme.info-1] 275877 bytes diff --git a/tests/program/program.txt b/tests/program/program.txt index 8afd1a9c..e621bf3b 100644 --- a/tests/program/program.txt +++ b/tests/program/program.txt @@ -1,6 +1,6 @@ 1 results -text/x-perl [file:///home/dockes/projets/fulltext/testrecoll/program/rclimg] [rclimg] 5294 bytes +application/x-perl [file:///home/dockes/projets/fulltext/testrecoll/program/rclimg] [rclimg] 5294 bytes 1 results application/x-shellscript [file:///home/dockes/projets/fulltext/testrecoll/program/run_program_with_counters.sh] [run_program_with_counters.sh] 2632 bytes 1 results -text/x-shellscript [file:///home/dockes/projets/fulltext/testrecoll/program/nosuffixshell] [nosuffixshell] 34 bytes +application/x-shellscript [file:///home/dockes/projets/fulltext/testrecoll/program/nosuffixshell] [nosuffixshell] 34 bytes diff --git a/tests/utfInPath/utfInPath.txt b/tests/utfInPath/utfInPath.txt index 704b4617..5a276243 100644 --- a/tests/utfInPath/utfInPath.txt +++ b/tests/utfInPath/utfInPath.txt @@ -2,5 +2,5 @@ image/vnd.djvu [file:///home/dockes/projets/fulltext/testrecoll/utfInPath/accentué/1999_Hu_Shu.OCR.djvu] [1999_Hu_Shu.OCR.djvu] 753409 bytes image/vnd.djvu [file:///home/dockes/projets/fulltext/testrecoll/utfInPath/accentué/1999_Hu_Shu.OCR.djvu] [1999_Hu_Shu.OCR.djvu] 753409 bytes 2 results -text/plain [file:///home/dockes/projets/fulltext/testrecoll/utfInPath/accentué/utf8path.txt] [utf8path.txt] 49 bytes text/plain [file:///home/dockes/projets/fulltext/testrecoll/utfInPath/accentué/utf8path.txt] [utf8path.txt] 49 bytes +text/plain [file:///home/dockes/projets/fulltext/testrecoll/utfInPath/accentué/utf8path.txt] [utf8path.txt] 49 bytes