Permalink
Browse files

skip all tests in t/links.t for OSes that can't symlink

fix for RT #57682
  • Loading branch information...
1 parent 2abe885 commit fc9049b09744c891a3bacdb10cc4588665ebd0df @barefootcoder barefootcoder committed Feb 12, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 t/links.t
View
@@ -5,10 +5,11 @@ use Test::More tests => 37;
use Test::File;
my $can_symlink = eval { symlink("",""); 1 };
+plan skip_all => "This system does't do symlinks" unless $can_symlink;
my $test_directory = 'test_files';
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";
};

0 comments on commit fc9049b

Please sign in to comment.