Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.IO.FileSystem/tests/File/Move.cs')
-rw-r--r--src/System.IO.FileSystem/tests/File/Move.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/System.IO.FileSystem/tests/File/Move.cs b/src/System.IO.FileSystem/tests/File/Move.cs
index ce2c7d0918..c1091d20d3 100644
--- a/src/System.IO.FileSystem/tests/File/Move.cs
+++ b/src/System.IO.FileSystem/tests/File/Move.cs
@@ -175,6 +175,7 @@ namespace System.IO.Tests
Assert.False(File.Exists(testFileSource.FullName));
}
+#if !MONOTOUCH_TV // symlink() on a TVOS device always returns EPERM
[DllImport("libc", SetLastError = true)]
private static extern int symlink(string target, string linkpath);
@@ -190,6 +191,7 @@ namespace System.IO.Tests
Move(dangling_symlink, dangling_symlink_new_location);
Assert.True(File.Exists(dangling_symlink_new_location)); // File.Exists returns true for dangling symlinks
}
+#endif
[Fact]
public void FileNameWithSignificantWhitespace()