aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qtest/custom-filter.test
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qtest/custom-filter.test')
-rw-r--r--examples/qtest/custom-filter.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/qtest/custom-filter.test b/examples/qtest/custom-filter.test
index e674ea66..2d8acec6 100644
--- a/examples/qtest/custom-filter.test
+++ b/examples/qtest/custom-filter.test
@@ -24,8 +24,8 @@ $td->runtest("custom filter, decode generalized",
$td->EXIT_STATUS => 0},
$td->NORMALIZE_NEWLINES);
$td->runtest("check output",
- {$td->FILE => "a.pdf"},
- {$td->FILE => "generalized.pdf"});
+ {$td->COMMAND => "qpdf-test-compare a.pdf generalized.pdf"},
+ {$td->FILE => "generalized.pdf", $td->EXIT_STATUS => 0});
$td->runtest("custom filter, decode specialized",
{$td->COMMAND =>
@@ -34,8 +34,8 @@ $td->runtest("custom filter, decode specialized",
$td->EXIT_STATUS => 0},
$td->NORMALIZE_NEWLINES);
$td->runtest("check output",
- {$td->FILE => "a.pdf"},
- {$td->FILE => "specialized.pdf"});
+ {$td->COMMAND => "qpdf-test-compare a.pdf specialized.pdf"},
+ {$td->FILE => "specialized.pdf", $td->EXIT_STATUS => 0});
cleanup();