[release/6.0] Port test-only test fixes (#63507)
authorDan Moseley <danmose@microsoft.com>
Fri, 7 Jan 2022 23:33:19 +0000 (16:33 -0700)
committerGitHub <noreply@github.com>
Fri, 7 Jan 2022 23:33:19 +0000 (16:33 -0700)
commitdc56b08106d9d4ee986c7ddf04deceb9bccea275
tree47684441e3c4c88087d3615b398357654cb6a7dd
parentd575a6ff9093b577d716efd4a8e5aaaad9d645b9
[release/6.0] Port test-only test fixes (#63507)

* Outerloop ports

* Port EFS test fix

* Partially disable test (#59760)

* fix build
src/libraries/Common/tests/TestUtilities/System/PlatformDetection.Windows.cs
src/libraries/Common/tests/TestUtilities/System/WindowsIdentityFixture.cs
src/libraries/System.IO.FileSystem/tests/Enumeration/SpecialDirectoryTests.cs
src/libraries/System.IO.FileSystem/tests/File/EncryptDecrypt.Windows.cs [new file with mode: 0644]
src/libraries/System.IO.FileSystem/tests/File/EncryptDecrypt.cs
src/libraries/System.IO.FileSystem/tests/Net5CompatTests/System.IO.FileSystem.Net5Compat.Tests.csproj
src/libraries/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj
src/libraries/System.IO.Ports/tests/SerialPort/DosDevices.cs
src/libraries/System.Net.Http/tests/FunctionalTests/ImpersonatedAuthTests.cs
src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs
src/libraries/System.Security.Principal.Windows/tests/WindowsIdentityImpersonatedTests.netcoreapp.cs