Give up on testing the chmod throw

This commit is contained in:
Jordan Brown
2018-11-02 15:29:46 -04:00
parent 70e6aa0938
commit a0a09dd1fe
@@ -70,16 +70,6 @@ namespace Tgstation.Server.Host.IO.Tests
var tmpFile = Path.GetTempFileName();
File.Delete(tmpFile);
Assert.ThrowsException<UnixIOException>(() => postWriteHandler.HandleWrite(tmpFile));
Directory.CreateDirectory(tmpFile);
try
{
//can't +x a directory ;) (taps head)
Assert.ThrowsException<UnixIOException>(() => postWriteHandler.HandleWrite(tmpFile));
}
finally
{
Directory.Delete(tmpFile);
}
}
}
}