diff options
Diffstat (limited to 'examples/qtest')
-rw-r--r-- | examples/qtest/create.test | 9 | ||||
-rw-r--r-- | examples/qtest/create/create.out | 1 | ||||
-rw-r--r-- | examples/qtest/create/orange-square.pdf | bin | 1088 -> 0 bytes |
3 files changed, 4 insertions, 6 deletions
diff --git a/examples/qtest/create.test b/examples/qtest/create.test index bcdac25c..f83509e2 100644 --- a/examples/qtest/create.test +++ b/examples/qtest/create.test @@ -13,15 +13,12 @@ my $td = new TestDriver('create'); $td->runtest("create a simple PDF", {$td->COMMAND => "pdf-create a.pdf"}, - {$td->STRING => "", $td->EXIT_STATUS => 0}); - -$td->runtest("check", - {$td->FILE => "a.pdf"}, - {$td->FILE => "orange-square.pdf"}); + {$td->FILE => "create.out", $td->EXIT_STATUS => 0}, + $td->NORMALIZE_NEWLINES); cleanup(); -$td->report(2); +$td->report(1); sub cleanup { diff --git a/examples/qtest/create/create.out b/examples/qtest/create/create.out new file mode 100644 index 00000000..c9006083 --- /dev/null +++ b/examples/qtest/create/create.out @@ -0,0 +1 @@ +all checks passed diff --git a/examples/qtest/create/orange-square.pdf b/examples/qtest/create/orange-square.pdf Binary files differdeleted file mode 100644 index 28fb47cd..00000000 --- a/examples/qtest/create/orange-square.pdf +++ /dev/null |