aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qtest/invert-images.test
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-12-20 00:28:36 +0100
committerJay Berkenbilt <ejb@ql.org>2023-12-20 21:21:32 +0100
commitc67634afa045b9b1e54c85942c14982ac68678e7 (patch)
treea82a55496ba9497204ebe1bdbbe9f90e3812c9c0 /examples/qtest/invert-images.test
parent49621ef5a825fc0a600284fa2c33775b330e2007 (diff)
downloadqpdf-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/invert-images.test')
-rw-r--r--examples/qtest/invert-images.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qtest/invert-images.test b/examples/qtest/invert-images.test
index d1e3c939..7986d0fd 100644
--- a/examples/qtest/invert-images.test
+++ b/examples/qtest/invert-images.test
@@ -20,8 +20,8 @@ $td->runtest("invert images",
$td->NORMALIZE_NEWLINES);
$td->runtest("check output",
- {$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});
cleanup();