diff options
author | David Golden <dagolden@cpan.org> | 2010-07-19 21:51:30 -0700 |
---|---|---|
committer | David Golden <dagolden@cpan.org> | 2010-07-19 21:54:53 -0700 |
commit | 52143fbb9d625195866dfd908e7e2ed2c9492c50 (patch) | |
tree | e257769f29e4ea39706e7d8f5564ca716ca48202 | |
parent | 09476ae38ccc4a195ebeff83ef2774054aa87b97 (diff) | |
download | perl-52143fbb9d625195866dfd908e7e2ed2c9492c50.tar.gz |
Add exceptions to dual-life.t
-rw-r--r-- | t/porting/dual-life.t | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/t/porting/dual-life.t b/t/porting/dual-life.t index cf3c337017..cf53d9aa0c 100644 --- a/t/porting/dual-life.t +++ b/t/porting/dual-life.t @@ -1,4 +1,5 @@ #!/perl -w +use 5.010; use strict; # This tests properties of dual-life modules: @@ -10,6 +11,15 @@ use File::Find; use File::Spec::Functions; use Test::More; END { done_testing } +# Exceptions are found in dual-life bin dirs but aren't +# installed by default +my @exceptions = qw( + ../cpan/Encode/bin/ucm2table + ../cpan/Encode/bin/ucmlint + ../cpan/Encode/bin/ucmsort + ../cpan/Encode/bin/unidump +); + my @programs; find( @@ -19,11 +29,12 @@ find( return unless $name =~ m{/(?:bin|scripts?)/\S+\z}; push @programs, $name; - }, + }, qw( ../cpan ../dist ../ext ), ); for my $f ( @programs ) { + next if $f ~~ @exceptions; ok( -f catfile('..', 'utils', basename($f)), "$f" ); } |