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