Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit ae53ab9

Browse files
Priya91stephentoub
authored andcommitted
Skip failing process test on Windows Nano. (#10979)
1 parent fc47c42 commit ae53ab9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/System.Diagnostics.Process/tests/ProcessTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,8 @@ public void TestStartWithMissingFile(bool fullPath)
727727
}
728728

729729
[PlatformSpecific(PlatformID.Windows)]
730-
[Fact]
730+
// NativeErrorCode not 193 on Windows Nano for ERROR_BAD_EXE_FORMAT, issue #10290
731+
[ConditionalFact(nameof(PlatformDetection) + "." + nameof(PlatformDetection.IsNotWindowsNanoServer))]
731732
public void TestStartOnWindowsWithBadFileFormat()
732733
{
733734
string path = GetTestFilePath();

0 commit comments

Comments
 (0)