recoll/tests/pdf/pdf.sh
2019-09-04 09:38:11 +02:00

22 lines
615 B
Bash
Executable File

#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
(
recollq '"sequences of moveto and lineto"' OR 'ANSIX3.4'
# pdf xmp. Note that dc:identifier is aliased to url in the
# defaults field file, and this can't be overruled afaics, so
# url is prefixed for the dc:identifier search to work
recollq dc:identifier:10.12345/sampledoi
recollq 'pdf:Producer:"GPL Ghostscript 9.18" metafixerunique'
recollq '"bubbleupnp server to simulate openhome"'
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult