Skip to content

Spurious Windows test failure in FindOnPathSucceeds #6869

@rainersigwald

Description

@rainersigwald
Shouldly.ShouldAssertException : cmdPath
    should be one of
[\"C:\\WINDOWS\\system32\\cmd.exe\"]
    but was
\"C:\\windows\\system32\\cmd.exe\"
   at Shouldly.ShouldBeTestExtensions.ShouldBeOneOf[T](T actual, T[] expected, Func`1 customMessage)
   at Shouldly.ShouldBeTestExtensions.ShouldBeOneOf[T](T actual, T[] expected)
   at Microsoft.Build.UnitTests.ToolTask_Tests.FindOnPathSucceeds() in S:\msbuild\src\Utilities.UnitTests\ToolTask_Tests.cs:line 697

Looks like case sensitivity where it shouldn't be.

Metadata

Metadata

Assignees

Labels

bugflaky-testTests that have failed but passed on rerun.help wantedIssues that the core team doesn't plan to work on, but would accept a PR for. Comment to claim.triaged

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions