Prepare for CORE inclusion (BinGOs)
[Config-Perl-V.git] / t / 10_base.t
blob4f24d73aefa7b5c96b910ce1b50c2e0d0e6a7549
1 #!/pro/bin/perl
3 use strict;
4 use warnings;
6 BEGIN {
7 use Test::More;
8 my $tests = 7;
9 unless ($ENV{PERL_CORE}) {
10 require Test::NoWarnings;
11 Test::NoWarnings->import ();
12 $tests++;
15 plan tests => $tests;
17 use_ok ("Config::Perl::V");
20 ok (my $conf = Config::Perl::V::myconfig, "Read config");
21 for (qw( build environment config inc )) {
22 ok (exists $conf->{build}, "Has build entry");
24 is (lc $conf->{build}{osname}, lc $conf->{config}{osname}, "osname");