Skip to content

Commit 0eb1a35

Browse files
committed
Skip two of the first run tests that aren't correctly resetting the environment
Try to fix an ubuntu test that has the full path rather than just partial
1 parent d8add06 commit 0eb1a35

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Tests/dotnet-help.Tests/GivenThatIWantToShowHelpForDotnetCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public void WhenRunOnWindowsDotnetHelpCommandShouldContainProperProcessInformati
136136
public void WhenRunOnLinuxDotnetHelpCommandShouldContainProperProcessInformation()
137137
{
138138
var proc = HelpCommand.ConfigureProcess("https://aka.ms/dotnet-build");
139-
Assert.Equal("xdg-open", proc.StartInfo.FileName);
139+
Assert.Contains("xdg-open", proc.StartInfo.FileName);
140140
Assert.Equal("https://aka.ms/dotnet-build", proc.StartInfo.Arguments);
141141

142142
}

src/Tests/dotnet.Tests/GivenThatTheUserIsRunningDotNetForTheFirstTime.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public void UsingDotnetForTheFirstTimeWithNonVerbsDoesNotPrintEula()
112112
.StartWith(firstTimeNonVerbUseMessage);
113113
}
114114

115-
[Fact]
115+
[Fact(Skip="https://github.com/dotnet/sdk/issues/43328")]]
116116
public void ItShowsTheAppropriateMessageToTheUser()
117117
{
118118

@@ -160,7 +160,7 @@ public void ItDoesNotCreateAFirstUseSentinelFileNorAnAspNetCertificateSentinelFi
160160
homeFolder.Should().NotExist();
161161
}
162162

163-
[Fact]
163+
[Fact(Skip="https://github.com/dotnet/sdk/issues/43328")]
164164
public void ItShowsTheTelemetryNoticeWhenInvokingACommandAfterInternalReportInstallSuccessHasBeenInvoked()
165165
{
166166
var dotnetFirstTime = new DotNetFirstTime();

0 commit comments

Comments
 (0)