diff options
Diffstat (limited to 'examples/qtest')
-rw-r--r-- | examples/qtest/bookmarks.test | 4 | ||||
-rw-r--r-- | examples/qtest/npages.test | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/qtest/bookmarks.test b/examples/qtest/bookmarks.test index ba8be25f..1a5306d6 100644 --- a/examples/qtest/bookmarks.test +++ b/examples/qtest/bookmarks.test @@ -29,8 +29,8 @@ $td->runtest("no bookmarks", $td->runtest("bad", {$td->COMMAND => "pdf-bookmarks 3.pdf"}, - {$td->STRING => "pdf-bookmarks processing file 3.pdf: " . - "3.pdf: not a PDF file\n", + {$td->REGEXP => "pdf-bookmarks processing file 3.pdf: " . + ".*unable to find trailer.*", $td->EXIT_STATUS => 2}, $td->NORMALIZE_NEWLINES); diff --git a/examples/qtest/npages.test b/examples/qtest/npages.test index b20f254c..191e8d8f 100644 --- a/examples/qtest/npages.test +++ b/examples/qtest/npages.test @@ -16,7 +16,7 @@ $td->runtest("normal", $td->runtest("error", {$td->COMMAND => "pdf-npages bad"}, - {$td->STRING => "pdf-npages: bad: not a PDF file\n", + {$td->REGEXP => "pdf-npages: bad: unable to find trailer.*", $td->EXIT_STATUS => 2}, $td->NORMALIZE_NEWLINES); |