summaryrefslogtreecommitdiffstats
path: root/qpdf/qtest/qpdf.test
diff options
context:
space:
mode:
Diffstat (limited to 'qpdf/qtest/qpdf.test')
-rw-r--r--qpdf/qtest/qpdf.test28
1 files changed, 14 insertions, 14 deletions
diff --git a/qpdf/qtest/qpdf.test b/qpdf/qtest/qpdf.test
index 3253ce65..c86e290f 100644
--- a/qpdf/qtest/qpdf.test
+++ b/qpdf/qtest/qpdf.test
@@ -713,14 +713,14 @@ foreach my $d (
}
show_ntests();
# ----------
-$td->notify("--- Single Page ---");
-# sp = single-pages
+$td->notify("--- Split Pages ---"); # XXXX
+# sp = split-pages
my @sp_cases = (
- [11, '%d at beginning', '', '%d_single-out.zdf'],
- [11, '%d at end', '--qdf', 'single-out.zdf_%d'],
- [11, '%d in middle', '--encrypt u o 128 --', 'a-%d-single-out.zdf'],
- [11, 'pdf extension', '', 'single-out.Pdf'],
- [4, 'fallback', '--pages 11-pages.pdf 1-3 minimal.pdf --', 'single-out'],
+ [11, '%d at beginning', '', '%d_split-out.zdf'],
+ [11, '%d at end', '--qdf', 'split-out.zdf_%d'],
+ [11, '%d in middle', '--encrypt u o 128 --', 'a-%d-split-out.zdf'],
+ [11, 'pdf extension', '', 'split-out.Pdf'],
+ [4, 'fallback', '--pages 11-pages.pdf 1-3 minimal.pdf --', 'split-out'],
);
$n_tests += 1;
for (@sp_cases)
@@ -728,17 +728,17 @@ for (@sp_cases)
$n_tests += 1 + $_->[0];
}
-$td->runtest("no single-pages to stdout",
- {$td->COMMAND => "qpdf --single-pages 11-pages.pdf -"},
- {$td->FILE => "single-pages-stdout.out", $td->EXIT_STATUS => 2},
+$td->runtest("no split-pages to stdout",
+ {$td->COMMAND => "qpdf --split-pages 11-pages.pdf -"},
+ {$td->FILE => "split-pages-stdout.out", $td->EXIT_STATUS => 2},
$td->NORMALIZE_NEWLINES);
foreach my $d (@sp_cases)
{
my ($n, $description, $xargs, $out) = @$d;
- $td->runtest("single pages " . $description,
+ $td->runtest("split pages " . $description,
{$td->COMMAND =>
- "qpdf --static-id --single-pages 11-pages.pdf" .
+ "qpdf --static-id --split-pages 11-pages.pdf" .
" $xargs $out"},
{$td->STRING => "", $td->EXIT_STATUS => 0});
my $pattern = $out;
@@ -759,7 +759,7 @@ foreach my $d (@sp_cases)
{
my $actual = sprintf($pattern, $i);
my $expected = $actual;
- $expected =~ s/single-out/single-exp/;
+ $expected =~ s/split-out/split-exp/;
$td->runtest("checkout output page $i",
{$td->FILE => $actual},
{$td->FILE => $expected});
@@ -2497,5 +2497,5 @@ sub get_md5_checksum
sub cleanup
{
system("rm -rf *.ps *.pnm ?.pdf ?.qdf *.enc* tif1 tif2 tiff-cache");
- system("rm -rf *single-out*");
+ system("rm -rf *split-out*");
}