Skip to content

Commit fb2c043

Browse files
authored
Fix expected exit code for mono in source-build smoke tests (dotnet#42209)
1 parent f7283e1 commit fb2c043

File tree

1 file changed

+1
-2
lines changed
  • src/SourceBuild/content/test/Microsoft.DotNet.SourceBuild.SmokeTests

1 file changed

+1
-2
lines changed

src/SourceBuild/content/test/Microsoft.DotNet.SourceBuild.SmokeTests/DotNetHelper.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,7 @@ public void ExecuteRun(string projectName) =>
216216

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

222221
ExecuteWeb(
223222
projectName,

0 commit comments

Comments
 (0)