projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58a5e53
)
[perl #21442] only check link() error codes where link() works
author
Tony Cook
<tony@develop-help.com>
Thu, 3 Apr 2014 03:11:36 +0000
(14:11 +1100)
committer
Tony Cook
<tony@develop-help.com>
Wed, 9 Apr 2014 04:50:28 +0000
(14:50 +1000)
Skip the tests on non-NTFS.
t/win32/fs.t
patch
|
blob
|
history
diff --git
a/t/win32/fs.t
b/t/win32/fs.t
index
35d3617
..
b770311
100644
(file)
--- a/
t/win32/fs.t
+++ b/
t/win32/fs.t
@@
-8,6
+8,11
@@
BEGIN {
die $@ if $@ and !is_miniperl();
}
+my $has_link = Win32::FsType() eq 'NTFS';
+
+$has_link
+ or skip_all("link() only works on NTFS");
+
plan tests => 4;
my $tmpfile1 = tempfile();