aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qtest
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2017-07-28 04:27:00 +0200
committerJay Berkenbilt <ejb@ql.org>2017-07-28 04:57:55 +0200
commit428d96dfe19da96ac4759b190f5b25cf75ecdac6 (patch)
tree3e9404deb27c92d0e5a3d6cd0b50f0cd2dd9bfe1 /examples/qtest
parenta4fd4b91c6f7f732536bd113cd7b4e23a08ca599 (diff)
downloadqpdf-428d96dfe19da96ac4759b190f5b25cf75ecdac6.tar.zst
Convert many more errors to warnings
Diffstat (limited to 'examples/qtest')
-rw-r--r--examples/qtest/bookmarks.test4
-rw-r--r--examples/qtest/npages.test2
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);