AMPR-Rip44
view release on metacpan or search on metacpan
in the amateur radio 44/8 Amprnet gateways tunnel network. It updates
ipip tunnel mesh routes based on RIP updates coming from a master server.
rip44d does not even transmit RIP packets by itself.
INSTALLATION
To install this module, run the following commands:
perl Makefile.PL
make
make test
make install
SUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the
perldoc command.
perldoc AMPR::Rip44
You can also look for information at:
t/00-load.t view on Meta::CPAN
#!perl -T
use Test::More tests => 1;
BEGIN {
use_ok( 'AMPR::Rip44' ) || print "Bail out!
";
}
diag( "Testing AMPR::Rip44 $AMPR::Rip44::VERSION, Perl $], $^X" );
#!perl -T
use strict;
use warnings;
use File::Spec;
use Test::More;
use English qw(-no_match_vars);
if ( not $ENV{RELEASE_TESTING} ) {
my $msg = 'Author test. Set $ENV{RELEASE_TESTING} to run.';
plan( skip_all => $msg );
}
eval { require Test::Perl::Critic; };
if ($EVAL_ERROR) {
my $msg = 'Test::Perl::Critic required to criticise code';
plan( skip_all => $msg );
}
t/manifest.t view on Meta::CPAN
use strict;
use warnings;
use Test::More;
use FindBin qw($Bin);
use File::Spec;
use Cwd;
(my $test_dir) = $Bin;
(my $dist_dir) = Cwd::realpath( File::Spec->catfile($Bin, '..') );
if ( not $ENV{RELEASE_TESTING} ) {
my $msg = 'Author test. Set $ENV{RELEASE_TESTING} to run.';
plan( skip_all => $msg );
}
eval "use Test::CheckManifest 0.9";
plan skip_all => "Test::CheckManifest 0.9 required" if $@;
open( my $exclude_fh, q{<}, File::Spec->catfile( $dist_dir, 'ignore.txt' ) )
or die "couldn't open ignore.txt: $!";
my @exclude_files = map{
t/manifest.t view on Meta::CPAN
ok_manifest({ exclude => [ @exclude_files,
glob( $dist_dir . 't/data/*.db' ),
],
filter => [qr/\.svn/,
qr/\.git/,
qr/^.*~$/,
],
bool => 'or',
});
done_testing();
t/pod-coverage.t view on Meta::CPAN
use strict;
use warnings;
use Test::More;
# Ensure a recent version of Test::Pod::Coverage
my $min_tpc = 1.08;
eval "use Test::Pod::Coverage $min_tpc";
plan skip_all => "Test::Pod::Coverage $min_tpc required for testing POD coverage"
if $@;
# Test::Pod::Coverage doesn't require a minimum Pod::Coverage version,
# but older versions don't recognize some common documentation styles
my $min_pc = 0.18;
eval "use Pod::Coverage $min_pc";
plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage"
if $@;
all_pod_coverage_ok();
#!perl -T
use strict;
use warnings;
use Test::More;
# Ensure a recent version of Test::Pod
my $min_tp = 1.22;
eval "use Test::Pod $min_tp";
plan skip_all => "Test::Pod $min_tp required for testing POD" if $@;
all_pod_files_ok();
#!perl
#!perl -T # TODO - figure out why File::Find won't pass taint checks
use strict;
use warnings;
use Test::More tests => 1;
use FindBin qw($Bin);
use File::Spec;
use Cwd;
( my $test_dir ) = ( $Bin =~ m:^(.*?/t)$: );
( my $dist_dir ) = Cwd::realpath( File::Spec->catfile( $test_dir, '..' ) );
use File::Find;
sub not_in_file_ok {
my ( $filename, %regex ) = @_;
open( my $fh, '<', $filename )
or die "couldn't open $filename for reading: $!";
my %violated;
( run in 0.597 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )