aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-09-03 20:15:36 +0200
committerJay Berkenbilt <ejb@ql.org>2023-09-03 20:16:33 +0200
commitdc863a10b2b568b9e77066f6e7d603979aa903ce (patch)
tree80023df3d7e0066d6d7f1927f9a03229ef193ff4
parentbfbd97b9383327ddf1f5108e25e8559c3f27eb0c (diff)
downloadqpdf-dc863a10b2b568b9e77066f6e7d603979aa903ce.tar.zst
Change test output file from out.pdf to a.pdf for cleanup
The cleanup() method automatically removes certain files, but not out.pdf. Using a.pdf prevents the file from being left behind after the tests run.
-rw-r--r--qpdf/qtest/page-errors.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/qpdf/qtest/page-errors.test b/qpdf/qtest/page-errors.test
index 3f14f24e..2eceb37f 100644
--- a/qpdf/qtest/page-errors.test
+++ b/qpdf/qtest/page-errors.test
@@ -21,18 +21,18 @@ $td->runtest("handle page no with contents",
{$td->FILE => "page-no-content.out", $td->EXIT_STATUS => 3},
$td->NORMALIZE_NEWLINES);
$td->runtest("handle page with missing MediaBox",
- {$td->COMMAND => "qpdf --static-id --empty --pages page-no-content.pdf -- out.pdf"},
+ {$td->COMMAND => "qpdf --static-id --empty --pages page-no-content.pdf -- a.pdf"},
{$td->FILE => "page-missing-mediabox.out", $td->EXIT_STATUS => 3},
$td->NORMALIZE_NEWLINES);
$td->runtest("check output",
- {$td->FILE => "out.pdf"},
+ {$td->FILE => "a.pdf"},
{$td->FILE => "page-missing-mediabox-out.pdf"});
$td->runtest("handle page with inherited MediaBox",
- {$td->COMMAND => "qpdf --static-id --empty --pages page-inherit-mediabox.pdf -- out.pdf"},
+ {$td->COMMAND => "qpdf --static-id --empty --pages page-inherit-mediabox.pdf -- a.pdf"},
{$td->STRING => "", $td->EXIT_STATUS => 0},
$td->NORMALIZE_NEWLINES);
$td->runtest("check output",
- {$td->FILE => "out.pdf"},
+ {$td->FILE => "a.pdf"},
{$td->FILE => "page-inherit-mediabox-out.pdf"});
$td->runtest("check no type key for page nodes",
{$td->COMMAND => "qpdf --check no-pages-types.pdf"},