Skip to content

Commit

Permalink
Fix fixing PDF/UA metadata test
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed Jul 17, 2024
1 parent d51bca9 commit 93be7fe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion CLI/Metadata/AddMetadata/addMetadata.bats
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,14 @@ teardown() {
for x in $(ls $BATS_TEST_TMPDIR/**/$PATTERN*.pdf); do

printf "%s\n" $x >&3
run $BATS_TEST_TMPDIR/verapdf $x --fixmetadata

FLAVOUR=auto

if [[ $x == *"ua1"* ]]; then
FLAVOUR=ua1
fi

run $BATS_TEST_TMPDIR/verapdf $x --fixmetadata --flavour $FLAVOUR

echo "status $(basename $x): $status" >&3
[ "$status" -eq 1 ]
Expand Down
File renamed without changes.

0 comments on commit 93be7fe

Please sign in to comment.