summaryrefslogtreecommitdiffstats
path: root/examples/qtest/npages.test
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qtest/npages.test')
-rw-r--r--examples/qtest/npages.test2
1 files changed, 1 insertions, 1 deletions
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);