One utility was using Perl6::Slurp and another was using
File::Slurp. Perl6::Slurp is nicer, so just use that, and
update the documentation. Also document the bootstrap
requirements imposed by make-c-data.
following additional Perl modules will be used by the test suite if
present:
following additional Perl modules will be used by the test suite if
present:
Test::MinimumVersion
Test::Perl::Critic
Test::Pod
Test::MinimumVersion
Test::Perl::Critic
Test::Pod
and need to regenerate Makefile.in, you will need Automake 1.11 or
later. For bootstrap or if you change configure.ac or any of the m4
files it includes and need to regenerate configure or config.h.in, you
and need to regenerate Makefile.in, you will need Automake 1.11 or
later. For bootstrap or if you change configure.ac or any of the m4
files it includes and need to regenerate configure or config.h.in, you
- will need Autoconf 2.64 or later.
+ will need Autoconf 2.64 or later. You will also need Perl 5.010 or
+ later and the JSON, Perl6::Slurp, and Readonly modules (from CPAN) to
+ bootstrap the test suite data from a Git checkout.
skip_unless_maintainer('Coding style tests');
# Load modules, skipping the test if they're not available.
skip_unless_maintainer('Coding style tests');
# Load modules, skipping the test if they're not available.
- use_prereq('File::Slurp');
+ use_prereq('Perl6::Slurp', 'slurp');
use_prereq('Test::Script::Run', '0.04');
=head1 DESCRIPTION
use_prereq('Test::Script::Run', '0.04');
=head1 DESCRIPTION
use Test::RRA qw(use_prereq);
use Test::RRA::Automake qw(test_file_path);
use Test::RRA qw(use_prereq);
use Test::RRA::Automake qw(test_file_path);
-use_prereq('File::Slurp');
use_prereq('IPC::Run', 'run');
use_prereq('JSON');
use_prereq('IPC::Run', 'run');
use_prereq('JSON');
-use_prereq('Test::More', '0.87_01');
+use_prereq('Perl6::Slurp', 'slurp');
+use_prereq('Test::More', '0.87_01');
# Run the newly-built heimdal-strength command and return the status, output,
# and error output as a list.
# Run the newly-built heimdal-strength command and return the status, output,
# and error output as a list.
my $path = test_file_path("data/passwords/$file");
# Load the test file data into memory.
my $path = test_file_path("data/passwords/$file");
# Load the test file data into memory.
- my $testdata = read_file($path);
+ my $testdata = slurp($path);
# Decode the JSON into Perl objects and return them.
my $json = JSON->new->utf8;
# Decode the JSON into Perl objects and return them.
my $json = JSON->new->utf8;