Drop Xpdf and other checks from test-corpus.sh script.

This commit is contained in:
Michael R Sweet 2025-04-24 12:07:07 -04:00
parent cad8f450ab
commit 749c0f845d
No known key found for this signature in database
GPG Key ID: BE67C75EC81F3244

View File

@ -18,15 +18,6 @@ if test $# = 0; then
fi
for file in $(find "$@" -name \*.pdf -print); do
# Don't worry about test files containing MIME garbage...
(head -4 $file | grep -q Content-Type) && continue;
# Or test files containing MacBinary garbage...
(file $file | grep -q MacBinary) && continue;
# Don't worry about test files that Xpdf can't handle...
pdfinfo $file >/dev/null 2>&1 || continue;
# Run testpdfio to test loading the file...
./testpdfio $file >$file.log 2>&1
if test $? = 0; then