diff options
author | Jay Berkenbilt <ejb@ql.org> | 2023-12-20 00:28:36 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2023-12-20 21:21:32 +0100 |
commit | c67634afa045b9b1e54c85942c14982ac68678e7 (patch) | |
tree | a82a55496ba9497204ebe1bdbbe9f90e3812c9c0 /examples/qtest/overlay-page.test | |
parent | 49621ef5a825fc0a600284fa2c33775b330e2007 (diff) | |
download | qpdf-c67634afa045b9b1e54c85942c14982ac68678e7.tar.zst |
Fix tests when running comparison tool is adequate
Fix all tests where the only required fix is to run qpdf-test-compare
instead of doing a simple file comparison.
Diffstat (limited to 'examples/qtest/overlay-page.test')
-rw-r--r-- | examples/qtest/overlay-page.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/qtest/overlay-page.test b/examples/qtest/overlay-page.test index be9bcb10..6440a367 100644 --- a/examples/qtest/overlay-page.test +++ b/examples/qtest/overlay-page.test @@ -15,15 +15,15 @@ $td->runtest("overlay-page", {$td->COMMAND => "pdf-overlay-page in.pdf stamp.pdf a.pdf"}, {$td->STRING => "", $td->EXIT_STATUS => 0}); $td->runtest("compare files", - {$td->FILE => "a.pdf"}, - {$td->FILE => "out.pdf"}); + {$td->COMMAND => "qpdf-test-compare a.pdf out.pdf"}, + {$td->FILE => "out.pdf", $td->EXIT_STATUS => 0}); $td->runtest("overlay-page with fields/ annotations", {$td->COMMAND => "pdf-overlay-page in.pdf annotations.pdf a.pdf"}, {$td->STRING => "", $td->EXIT_STATUS => 0}); $td->runtest("compare files", - {$td->FILE => "a.pdf"}, - {$td->FILE => "annotations-out.pdf"}); + {$td->COMMAND => "qpdf-test-compare a.pdf annotations-out.pdf"}, + {$td->FILE => "annotations-out.pdf", $td->EXIT_STATUS => 0}); cleanup(); |