You've already forked linux-packaging-mono
Imported Upstream version 5.8.0.22
Former-commit-id: df344e34b07851d296efb3e6604c8db42b6f7aa3
This commit is contained in:
parent
5f4a27cc8a
commit
7d05485754
@ -532,6 +532,12 @@ namespace MonoTests.System.IO
|
||||
}
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void Delete_NonExisting_NoException ()
|
||||
{
|
||||
File.Delete (Path.Combine (Directory.GetDirectoryRoot (Directory.GetCurrentDirectory ()), "monononexistingfile.dat"));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void GetAttributes_Archive ()
|
||||
{
|
||||
@ -2703,8 +2709,10 @@ namespace MonoTests.System.IO
|
||||
File.Delete (path2);
|
||||
|
||||
try {
|
||||
symlink (path1, path2);
|
||||
symlink (path2, path1);
|
||||
if (symlink (path1, path2) != 0)
|
||||
Assert.Fail ("symlink #1 failed with errno={0}", Marshal.GetLastWin32Error ());
|
||||
if (symlink (path2, path1) != 0)
|
||||
Assert.Fail ("symlink #2 failed with errno={0}", Marshal.GetLastWin32Error ());
|
||||
|
||||
Assert.IsTrue (File.Exists (path1), "File.Exists must return true for path1 symlink loop");
|
||||
Assert.IsTrue (File.Exists (path2), "File.Exists must return true for path2 symlink loop");
|
||||
|
Reference in New Issue
Block a user