aboutsummaryrefslogtreecommitdiffstats
path: root/qpdf/qtest/final-version.test
blob: fe3f576cce14d20bf7e36a9d148759e0b0df10c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env perl
require 5.008;
use warnings;
use strict;

unshift(@INC, '.');
require qpdf_test_helpers;

chdir("qpdf") or die "chdir testdir failed: $!\n";

require TestDriver;

cleanup();

my $td = new TestDriver('final-version');

my $n_tests = 1;

$td->runtest("check final version",
             {$td->COMMAND => "test_driver 54 minimal.pdf"},
             {$td->STRING => "test 54 done\n", $td->EXIT_STATUS => 0},
             $td->NORMALIZE_NEWLINES);

cleanup();
$td->report($n_tests);