]> gitweb.hhaalo.de Git - scantopdf.git/commitdiff
fix test create multi pdf
authorBastian Dehn <hhaalo@arcor.de>
Sat, 18 Oct 2025 17:30:36 +0000 (19:30 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 18 Oct 2025 17:30:36 +0000 (19:30 +0200)
src/scanbasic.sh
tests/scanbasic.bats

index f92857653a25c6d7de66277582e4d61e2420c9ed..a4d483d967246e60fd881a8cbf92fba7838e95da 100644 (file)
@@ -176,6 +176,8 @@ createmultipdfs()
                tiff2pdf $tiff -o $pdf \
                        || errlog "could not convert $tiff to $pdf" \
                        || return $?
+               addocr "$pdf" \
+                       || return $?
                trenn=$(detectsplit $pdf) \
                        || return $?
                rm $tiff \
index 322b552bfdce2bdf7cd5e78a5f8f0e276bf4ce8f..31a668a5258faa5ee371c19e1e404c0a9839bf46 100755 (executable)
@@ -233,6 +233,9 @@ setup() {
        tiff2pdf() {
                :
        }
+       addocr() {
+               :
+       }
        rm() {
                :
        }