mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-24 22:35:49 -04:00
Fixed some mono specific tests.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Mono.Unix;
|
||||
using System;
|
||||
using Mono.Unix;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Common.Test.DiskTests;
|
||||
|
||||
@@ -15,6 +16,11 @@ namespace NzbDrone.Mono.Test.DiskProviderTests
|
||||
|
||||
protected override void SetWritePermissions(string path, bool writable)
|
||||
{
|
||||
if (Environment.UserName == "root")
|
||||
{
|
||||
Assert.Inconclusive("Need non-root user to test write permissions.");
|
||||
}
|
||||
|
||||
// Remove Write permissions, we're still owner so we can clean it up, but we'll have to do that explicitly.
|
||||
|
||||
var entry = UnixFileSystemInfo.GetFileSystemEntry(path);
|
||||
|
||||
Reference in New Issue
Block a user