Fix two corlib test issues on mobile
Fixes [#40642](https://bugzilla.xamarin.com/show_bug.cgi?id=40624).
@monojenkins merge
try {
FileInfo info = new FileInfo (path);
Assert.IsFalse (info.Exists, "#1");
+ info.Delete ();
+ Assert.IsFalse (info.Exists, "#1a");
info.Create ().Close ();
info = new FileInfo (path);
Assert.IsTrue (info.Exists, "#2");
{
string name = "FIT.MoveTo.SameName.Test";
string path1 = TempFolder + DSC + name;
- string path2 = name;
+ string path2 = TempFolder + DSC + "same";
+ Directory.CreateDirectory (path2);
+ path2 += DSC + name;
DeleteFile (path1);
DeleteFile (path2);