mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-05 04:47:53 +00:00
0873e42300
Implemented pipeline around sph sha calls using standard test vectors for full-byte values. Did not test or support partial byte values.
19 lines
339 B
Perl
19 lines
339 B
Perl
#!/usr/bin/env perl
|
|
require 5.008;
|
|
BEGIN { $^W = 1; }
|
|
use strict;
|
|
|
|
chdir("sha2") or die "chdir testdir failed: $!\n";
|
|
|
|
require TestDriver;
|
|
|
|
my $td = new TestDriver('sha2');
|
|
|
|
$td->runtest("sha2",
|
|
{$td->COMMAND => "sha2"},
|
|
{$td->FILE => "sha2.out",
|
|
$td->EXIT_STATUS => 0},
|
|
$td->NORMALIZE_NEWLINES);
|
|
|
|
$td->report(1);
|