Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/t/lib/ProFTPD/Tests/Config/RLimitCPU.pm
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,8 @@ sub rlimitcpu_session_min {
defined(my $pid = fork()) or die("Can't fork: $!");
if ($pid) {
eval {
eval { ProFTPD::TestSuite::FTP->new('127.0.0.1', $port, 0, 1) };
my $client = ProFTPD::TestSuite::FTP->new('127.0.0.1', $port, 0, 2, 2);
eval { $client->login($user, $passwd); };
unless ($@) {
die("Connecting to server succeeded unexpectedly");
}
Expand Down
6 changes: 3 additions & 3 deletions tests/t/lib/ProFTPD/Tests/Config/ShowSymlinks.pm
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ sub showsymlinks_on_list_rel_symlinked_file {

# Different platforms' Perl create symlinks with different perms
my $expected_perms = 'lrwxr-xr-x';
if ($^O eq 'linux') {
if ($^O eq 'linux' or $^O eq 'solaris') {
$expected_perms = 'lrwxrwxrwx';
}

Expand Down Expand Up @@ -826,7 +826,7 @@ sub showsymlinks_on_list_rel_symlinked_dir {

# Different platforms' Perl create symlinks with different perms
my $expected_perms = 'lrwxr-xr-x';
if ($^O eq 'linux') {
if ($^O eq 'linux' or $^O eq 'solaris') {
$expected_perms = 'lrwxrwxrwx';
}

Expand Down Expand Up @@ -3732,7 +3732,7 @@ sub showsymlinks_on_stat_rel_symlinked_file {
$expected = 'lrwxr-xr-x';

# Different platforms' Perl create symlinks with different perms
if ($^O eq 'linux') {
if ($^O eq 'linux' or $^O eq 'solaris') {
$expected = 'lrwxrwxrwx';
}

Expand Down