diff --git a/CLI/Metadata/AddMetadata/addMetadata.bats b/CLI/Metadata/AddMetadata/addMetadata.bats index ad27d27..0207eea 100644 --- a/CLI/Metadata/AddMetadata/addMetadata.bats +++ b/CLI/Metadata/AddMetadata/addMetadata.bats @@ -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 ] diff --git a/CLI/Metadata/AddMetadata/veraPDF_MF 35.pdf b/CLI/Metadata/AddMetadata/veraPDF_MF 35 ua1.pdf similarity index 100% rename from CLI/Metadata/AddMetadata/veraPDF_MF 35.pdf rename to CLI/Metadata/AddMetadata/veraPDF_MF 35 ua1.pdf