Tweak script.

This commit is contained in:
Michael R Sweet 2025-04-18 20:00:14 -04:00
parent 5e9617a742
commit c23c6dec9a
No known key found for this signature in database
GPG Key ID: BE67C75EC81F3244

View File

@ -12,11 +12,11 @@
# ./test-corpus.sh DIRECTORY
#
if test $# = 1; then
if test $# = 0; then
echo "Usage: ./test-corpus.sh DIRECTORY"
exit 1
fi
for file in $(find "$@" -name \*.pdf -print); do
./testpdfio $file 2>$file.log || echo $file
./testpdfio $file 2>&1 >$file.log || echo $file
done