Skip to content

Commit

Permalink
MAINT: Fix tests for PR 871
Browse files Browse the repository at this point in the history
- moved results files fixed by #871 to regression tests; and
- copy correct results by brute force until following release.
  • Loading branch information
carlwilson committed Mar 5, 2024
1 parent b8e8c90 commit 3a5c17b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions jhove-bbt/scripts/create-1.29-target.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,11 @@ find "${targetRoot}" -type f -name "audit.jhove.xml" -exec sed -i 's/^ <module
if [[ -f "${candidateRoot}/examples/modules/XML-hul/jhoveconf.xml.jhove.xml" ]]; then
cp "${candidateRoot}/examples/modules/XML-hul/jhoveconf.xml.jhove.xml" "${targetRoot}/examples/modules/XML-hul/jhoveconf.xml.jhove.xml"
fi

# Copy the PDF Module results changed by https://github.com/openpreserve/jhove/pull/871
if [[ -f "${candidateRoot}/regression/modules/PDF-hul/pr_871_a.pdf.jhove.xml" ]]; then
cp "${candidateRoot}/regression/modules/PDF-hul/pr_871_a.pdf.jhove.xml" "${targetRoot}/regression/modules/PDF-hul/pr_871_a.pdf.jhove.xml"
fi
if [[ -f "${candidateRoot}/regression/modules/PDF-hul/pr_871_b.pdf.jhove.xml" ]]; then
cp "${candidateRoot}/regression/modules/PDF-hul/pr_871_b.pdf.jhove.xml" "${targetRoot}/regression/modules/PDF-hul/pr_871_b.pdf.jhove.xml"
fi

0 comments on commit 3a5c17b

Please sign in to comment.