Skip to content

Commit

Permalink
skip all tests in t/links.t for OSes that can't symlink
Browse files Browse the repository at this point in the history
fix for RT #57682
  • Loading branch information
barefootcoder committed Feb 12, 2012
1 parent 2abe885 commit fc9049b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/links.t
Expand Up @@ -5,10 +5,11 @@ use Test::More tests => 37;
use Test::File; use Test::File;


my $can_symlink = eval { symlink("",""); 1 }; my $can_symlink = eval { symlink("",""); 1 };
plan skip_all => "This system does't do symlinks" unless $can_symlink;


my $test_directory = 'test_files'; my $test_directory = 'test_files';
SKIP: { SKIP: {
skip "This system does't do symlinks", 5 unless $can_symlink; skip "setup already done", 5 if -d $test_directory;
require "t/setup_common"; require "t/setup_common";
}; };


Expand Down

0 comments on commit fc9049b

Please sign in to comment.