mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-24 05:27:30 +01:00
Give up on testing the chmod throw
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user