Expect UnauthorizedAccessException in tvOS if extracting fifo from tar without elevat...
authorCarlos Sanchez <1175054+carlossanlop@users.noreply.github.com>
Tue, 12 Jul 2022 17:10:26 +0000 (10:10 -0700)
committerGitHub <noreply@github.com>
Tue, 12 Jul 2022 17:10:26 +0000 (10:10 -0700)
commitcfe2731213567e0b4a7880102d994fac03ef74f8
treed184f5dc9939d269afee7c492f6314a3f65bd71c
parenteba01b7f6531e84b2dd6239878996203a3fd0b98
Expect UnauthorizedAccessException in tvOS if extracting fifo from tar without elevation (#71175)

* Add ConditionalFact to 'unelevated' tests to ensure they are not executed in elevated mode.

* Fix test that was incorrectly executed async
src/libraries/System.Formats.Tar/tests/TarFile/TarFile.ExtractToDirectory.File.Tests.Unix.cs
src/libraries/System.Formats.Tar/tests/TarFile/TarFile.ExtractToDirectoryAsync.File.Tests.Unix.cs
src/libraries/System.Formats.Tar/tests/TarReader/TarReader.TarEntry.ExtractToFile.Tests.Unix.cs
src/libraries/System.Formats.Tar/tests/TarReader/TarReader.TarEntry.ExtractToFileAsync.Tests.Unix.cs
src/libraries/System.Formats.Tar/tests/TarTestsBase.cs