diff options
Diffstat (limited to 'examples/qtest')
-rw-r--r-- | examples/qtest/linearize.test | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/qtest/linearize.test b/examples/qtest/linearize.test index 700cdca3..94fbcd05 100644 --- a/examples/qtest/linearize.test +++ b/examples/qtest/linearize.test @@ -15,7 +15,8 @@ my $qpdf = $ENV{'QPDF_BIN'} or die; $td->runtest("linearize", {$td->COMMAND => "pdf-linearize input.pdf '' a.pdf"}, - {$td->STRING => "", $td->EXIT_STATUS => 0}); + {$td->REGEXP => '(?s).*input\.pdf progress: \d+\%.*', + $td->EXIT_STATUS => 0}); $td->runtest("check", {$td->COMMAND => "$qpdf --check a.pdf"}, |