You've already forked linux-packaging-mono
Imported Upstream version 6.4.0.178
Former-commit-id: 910a7a10ba8608254000363489287c006b4ad47a
This commit is contained in:
parent
6855a3a773
commit
46fd284812
@@ -49,6 +49,7 @@ namespace System.IO.Tests
|
||||
Assert.Throws<IOException>(() => Copy(testFile, testFile));
|
||||
}
|
||||
|
||||
#if !MONOTOUCH_TV // symlink() on a TVOS device always returns EPERM
|
||||
[DllImport("libc", SetLastError = true)]
|
||||
private static extern int symlink(string target, string linkpath);
|
||||
|
||||
@@ -64,6 +65,7 @@ namespace System.IO.Tests
|
||||
Copy(dangling_symlink, dangling_symlink_new_location);
|
||||
Assert.True(File.Exists(dangling_symlink_new_location)); // File.Exists returns true for dangling symlinks
|
||||
}
|
||||
#endif
|
||||
|
||||
[Fact]
|
||||
[SkipOnTargetFramework(TargetFrameworkMonikers.Mono, "CoreFX FileStream not yet imported")]
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user