⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.67
Server IP:
50.6.168.112
Server:
Linux server-617809.webnetzimbabwe.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.4.10
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
.cpan
/
build
/
Devel-CheckLib-1.16-0
/
t
/
View File Name :
dash-l-libs.t
use strict; # compatible use warnings BEGIN{ if (not $] < 5.006) { require warnings; warnings->import } } use lib 't/lib'; use Capture::Tiny qw(capture); use Config; use File::Spec; use Test::More; my $debug = $ENV{DEVEL_CHECKLIB_DEBUG} || 0; my $libdir; eval "use Devel::CheckLib"; if($@ =~ /Couldn't find your C compiler/) { plan skip_all => "Couldn't find your C compiler"; } eval "use Helper qw(create_testlib)"; if($libdir = create_testlib("bazbam")) { plan tests => 1; } else { plan skip_all => "Couldn't build a library to test against"; }; my $runtime = '-l'.( $^O eq 'MSWin32' # if Win32 (not Cygwin) ... ? ( $Config{cc} =~ /(^|^\w+ )bcc/ ? 'cc3250' # ... Borland : 'msvcrt' # ... otherwise assume Microsoft ) : 'm' # default to Unix-style ); # my $runtime = $^O eq 'MSWin32' ? '-lmsvcrt' : '-lm'; my $args = qq{LIBS => '$runtime -lbazbam -L$libdir'}; my $error; my ($stdout, $stderr) = capture { eval "assert_lib(debug => $debug, $args)"; $error = $@; }; is($error, q{}, "$args") || diag("\tSTDOUT: $stdout\n\tSTDERR: $stderr\n");