From 749c0f845d8a0d65ee668640d5b451ace6a339b7 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 24 Apr 2025 12:07:07 -0400 Subject: [PATCH] Drop Xpdf and other checks from test-corpus.sh script. --- test-corpus.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test-corpus.sh b/test-corpus.sh index 2ef0b05..f37ba1b 100755 --- a/test-corpus.sh +++ b/test-corpus.sh @@ -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