Commit 8fc453b724940118b7b4994140f007745b03fec2
1 parent
1886673d
Remove accidentally-committed file and fix test that created it
Showing
2 changed files
with
9 additions
and
0 deletions
examples/qtest/filter-tokens.test
| @@ -9,6 +9,8 @@ require TestDriver; | @@ -9,6 +9,8 @@ require TestDriver; | ||
| 9 | 9 | ||
| 10 | my $td = new TestDriver('pdf-filter-tokens'); | 10 | my $td = new TestDriver('pdf-filter-tokens'); |
| 11 | 11 | ||
| 12 | +cleanup(); | ||
| 13 | + | ||
| 12 | $td->runtest("filter tokens", | 14 | $td->runtest("filter tokens", |
| 13 | {$td->COMMAND => "pdf-filter-tokens in.pdf a.pdf"}, | 15 | {$td->COMMAND => "pdf-filter-tokens in.pdf a.pdf"}, |
| 14 | {$td->STRING => "", $td->EXIT_STATUS => 0}); | 16 | {$td->STRING => "", $td->EXIT_STATUS => 0}); |
| @@ -17,4 +19,11 @@ $td->runtest("check output", | @@ -17,4 +19,11 @@ $td->runtest("check output", | ||
| 17 | {$td->FILE => "a.pdf"}, | 19 | {$td->FILE => "a.pdf"}, |
| 18 | {$td->FILE => "out.pdf"}); | 20 | {$td->FILE => "out.pdf"}); |
| 19 | 21 | ||
| 22 | +cleanup(); | ||
| 23 | + | ||
| 20 | $td->report(2); | 24 | $td->report(2); |
| 25 | + | ||
| 26 | +sub cleanup | ||
| 27 | +{ | ||
| 28 | + unlink 'a.pdf'; | ||
| 29 | +} |
examples/qtest/filter-tokens/a.pdf deleted
No preview for this file type