diff --git a/src/libraries/System.Formats.Tar/tests/TarReader/TarReader.ExtractToFile.Tests.Unix.cs b/src/libraries/System.Formats.Tar/tests/TarReader/TarReader.ExtractToFile.Tests.Unix.cs index a4333bb217928..471d4430fd97e 100644 --- a/src/libraries/System.Formats.Tar/tests/TarReader/TarReader.ExtractToFile.Tests.Unix.cs +++ b/src/libraries/System.Formats.Tar/tests/TarReader/TarReader.ExtractToFile.Tests.Unix.cs @@ -1,16 +1,14 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System.Collections.Generic; using System.IO; -using System.Linq; -using System.Reflection; using Xunit; namespace System.Formats.Tar.Tests { public partial class TarReader_ExtractToFile_Tests : TarTestsBase { + [PlatformSpecific(TestPlatforms.AnyUnix & ~TestPlatforms.tvOS)] // https://github.com/dotnet/runtime/issues/68360 [Fact] public void ExtractToFile_SpecialFile_Unelevated_Throws() { @@ -42,4 +40,4 @@ public void ExtractToFile_SpecialFile_Unelevated_Throws() Assert.Null(reader.GetNextEntry()); } } -} \ No newline at end of file +}