aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qtest
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2021-02-23 16:04:56 +0100
committerJay Berkenbilt <ejb@ql.org>2021-02-23 16:38:05 +0100
commit8fc453b724940118b7b4994140f007745b03fec2 (patch)
treee2bc62812ed948c59edc9da9e3296495221502d7 /examples/qtest
parent1886673d7e7846be6936a660ae97158d1d1c6113 (diff)
downloadqpdf-8fc453b724940118b7b4994140f007745b03fec2.tar.zst
Remove accidentally-committed file and fix test that created it
Diffstat (limited to 'examples/qtest')
-rw-r--r--examples/qtest/filter-tokens.test9
-rw-r--r--examples/qtest/filter-tokens/a.pdfbin53344 -> 0 bytes
2 files changed, 9 insertions, 0 deletions
diff --git a/examples/qtest/filter-tokens.test b/examples/qtest/filter-tokens.test
index 6b93eb8f..e7e458ac 100644
--- a/examples/qtest/filter-tokens.test
+++ b/examples/qtest/filter-tokens.test
@@ -9,6 +9,8 @@ require TestDriver;
my $td = new TestDriver('pdf-filter-tokens');
+cleanup();
+
$td->runtest("filter tokens",
{$td->COMMAND => "pdf-filter-tokens in.pdf a.pdf"},
{$td->STRING => "", $td->EXIT_STATUS => 0});
@@ -17,4 +19,11 @@ $td->runtest("check output",
{$td->FILE => "a.pdf"},
{$td->FILE => "out.pdf"});
+cleanup();
+
$td->report(2);
+
+sub cleanup
+{
+ unlink 'a.pdf';
+}
diff --git a/examples/qtest/filter-tokens/a.pdf b/examples/qtest/filter-tokens/a.pdf
deleted file mode 100644
index 2b368c7d..00000000
--- a/examples/qtest/filter-tokens/a.pdf
+++ /dev/null
Binary files differ