Skip to content

Commit

Permalink
Fix expected exit code for mono in source-build smoke tests
Browse files Browse the repository at this point in the history
The mono issue that caused the different exit code was fixed in dotnet/runtime#100056.

We now have the same exit code as coreclr so remove the mono special case.

Fixes dotnet/source-build#3174
Fixes dotnet/source-build#4514
  • Loading branch information
akoeplinger authored Jul 17, 2024
1 parent f7283e1 commit e7bb517
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,7 @@ public void ExecuteRun(string projectName) =>

public void ExecuteRunWeb(string projectName, DotNetTemplate template)
{
// 'dotnet run' exit code differs between CoreCLR and Mono (https://github.com/dotnet/sdk/issues/30095).
int expectedExitCode = IsMonoRuntime ? 143 : 0;
int expectedExitCode = 0;

ExecuteWeb(
projectName,
Expand Down

0 comments on commit e7bb517

Please sign in to comment.