Commit dc863a10b2b568b9e77066f6e7d603979aa903ce
1 parent
bfbd97b9
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.
Showing
1 changed file
with
4 additions
and
4 deletions
qpdf/qtest/page-errors.test
| ... | ... | @@ -21,18 +21,18 @@ $td->runtest("handle page no with contents", |
| 21 | 21 | {$td->FILE => "page-no-content.out", $td->EXIT_STATUS => 3}, |
| 22 | 22 | $td->NORMALIZE_NEWLINES); |
| 23 | 23 | $td->runtest("handle page with missing MediaBox", |
| 24 | - {$td->COMMAND => "qpdf --static-id --empty --pages page-no-content.pdf -- out.pdf"}, | |
| 24 | + {$td->COMMAND => "qpdf --static-id --empty --pages page-no-content.pdf -- a.pdf"}, | |
| 25 | 25 | {$td->FILE => "page-missing-mediabox.out", $td->EXIT_STATUS => 3}, |
| 26 | 26 | $td->NORMALIZE_NEWLINES); |
| 27 | 27 | $td->runtest("check output", |
| 28 | - {$td->FILE => "out.pdf"}, | |
| 28 | + {$td->FILE => "a.pdf"}, | |
| 29 | 29 | {$td->FILE => "page-missing-mediabox-out.pdf"}); |
| 30 | 30 | $td->runtest("handle page with inherited MediaBox", |
| 31 | - {$td->COMMAND => "qpdf --static-id --empty --pages page-inherit-mediabox.pdf -- out.pdf"}, | |
| 31 | + {$td->COMMAND => "qpdf --static-id --empty --pages page-inherit-mediabox.pdf -- a.pdf"}, | |
| 32 | 32 | {$td->STRING => "", $td->EXIT_STATUS => 0}, |
| 33 | 33 | $td->NORMALIZE_NEWLINES); |
| 34 | 34 | $td->runtest("check output", |
| 35 | - {$td->FILE => "out.pdf"}, | |
| 35 | + {$td->FILE => "a.pdf"}, | |
| 36 | 36 | {$td->FILE => "page-inherit-mediabox-out.pdf"}); |
| 37 | 37 | $td->runtest("check no type key for page nodes", |
| 38 | 38 | {$td->COMMAND => "qpdf --check no-pages-types.pdf"}, | ... | ... |