Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msbuild -test returns a false positive on Manjaro Linux #4781

Closed
treymerkley opened this issue Oct 3, 2019 · 0 comments · Fixed by #6055
Closed

msbuild -test returns a false positive on Manjaro Linux #4781

treymerkley opened this issue Oct 3, 2019 · 0 comments · Fixed by #6055
Labels
Area: Our Own Build Problems affecting the build or build infrastructure of the MSBuild repo itself. OS: Linux testing triaged xplat
Milestone

Comments

@treymerkley
Copy link
Contributor

Steps to reproduce

I just ran ./build.sh -test on the msbuild directory.

Expected behavior

A clean testing with no errors, as was produced by the dev.azure testing here: https://dev.azure.com/dnceng/public/_build/results?buildId=375828&view=ms.vss-test-web.build-test-results-tab&j=a964745c-2ee7-5657-5893-57d8a23ba1c9

Actual behavior

Shouldly.ShouldAssertException : \"/usr/bin/sh\"
    should be with options: Ignoring case
\"/bin/sh\"
    but was not
    difference
Difference     |       |    |    |         |    |    |    |    |    |   
               |      \|/  \|/  \|/       \|/  \|/  \|/  \|/  \|/  \|/  
Index          | 0    1    2    3    4    5    6    7    8    9    10   
Expected Value | /    b    i    n    /    s    h                        
Actual Value   | /    u    s    r    /    b    i    n    /    s    h    
Expected Code  | 47   98   105  110  47   115  104                      
Actual Code    | 47   117  115  114  47   98   105  110  47   115  104  
   at Shouldly.ShouldBeStringTestExtensions.ExecuteAssertion(IAssertion assertion, Func`1 customMessage)
   at Microsoft.Build.UnitTests.ToolTask_Tests.FindOnPathSucceeds() in /home/trey/git/msbuild/src/Utilities.UnitTests/ToolTask_Tests.cs:line 689

Environment data

msbuild /version output:
16.0.0.0

OS info:
Manjaro Linux, latest stable

If applicable, version of the tool that invokes MSBuild (Visual Studio, dotnet CLI, etc): None, running MSBuild directly.

@livarcocc livarcocc added the Area: Our Own Build Problems affecting the build or build infrastructure of the MSBuild repo itself. label Oct 7, 2019
@livarcocc livarcocc added this to the Backlog milestone Oct 7, 2019
@AR-May AR-May added the triaged label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Our Own Build Problems affecting the build or build infrastructure of the MSBuild repo itself. OS: Linux testing triaged xplat
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants