That test was not testing what it was supposed to test :)
[Config-Perl-V.git] / t / 20_plv56.t
blobd9e1c24d27051ebb45e325d7e3c38c063595eeec
1 #!/pro/bin/perl
3 use strict;
4 use warnings;
6 BEGIN {
7 use Test::More;
8 my $tests = 8;
9 unless ($ENV{PERL_CORE}) {
10 require Test::NoWarnings;
11 Test::NoWarnings->import ();
12 $tests++;
15 plan tests => $tests;
18 use Config::Perl::V;
20 ok (my $conf = Config::Perl::V::plv2hash (<DATA>), "Read perl -v block");
21 ok (exists $conf->{$_}, "Has $_ entry") for qw( build environment config inc );
23 is ($conf->{build}{osname}, $conf->{config}{osname}, "osname");
24 is ($conf->{build}{stamp}, 0, "No build time known");
25 is ($conf->{config}{version}, "5.6.2", "reconstructed \%Config{version}");
27 __END__
28 Summary of my perl5 (revision 5.0 version 6 subversion 2) configuration:
29 Platform:
30 osname=linux, osvers=2.6.31.12-0.2-default, archname=i686-linux-64int-perlio
31 uname='linux nb09 2.6.31.12-0.2-default #1 smp 2010-03-16 21:25:39 +0100 i686 i686 i386 gnulinux '
32 config_args='-Dusedevel -Duse64bitint -Duseperlio -des -Dusedevel -Uinstallusrbinperl -Dprefix=/media/Tux/perls'
33 hint=recommended, useposix=true, d_sigaction=define
34 usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
35 useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
36 use64bitint=define use64bitall=undef uselongdouble=undef
37 Compiler:
38 cc='cc', ccflags ='-DDEBUGGING -fno-strict-aliasing -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
39 optimize='-O2',
40 cppflags='-DDEBUGGING -fno-strict-aliasing -I/pro/local/include'
41 ccversion='', gccversion='4.4.1 [gcc-4_4-branch revision 150839]', gccosandvers=''
42 intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
43 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
44 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
45 alignbytes=4, usemymalloc=n, prototype=define
46 Linker and Libraries:
47 ld='cc', ldflags ='-L/pro/local/lib'
48 libpth=/pro/local/lib /lib /usr/lib /usr/local/lib
49 libs=-lnsl -lgdbm -ldb -ldl -lm -lc -lcrypt -lutil
50 perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
51 libc=/lib/libc-2.10.1.so, so=so, useshrplib=false, libperl=libperl.a
52 Dynamic Linking:
53 dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
54 cccdlflags='-fpic', lddlflags='-shared -L/pro/local/lib'
57 Characteristics of this binary (from libperl):
58 Compile-time options: DEBUGGING USE_64_BIT_INT USE_LARGE_FILES
59 Built under linux
60 Compiled at Mar 23 2010 17:34:56
61 @INC:
62 /media/Tux/perls/lib/5.6.2/i686-linux-64int-perlio
63 /media/Tux/perls/lib/5.6.2
64 /media/Tux/perls/lib/site_perl/5.6.2/i686-linux-64int-perlio
65 /media/Tux/perls/lib/site_perl/5.6.2
66 /media/Tux/perls/lib/site_perl