未验证 提交 3df01227 编写于 作者: J Jared Parsons 提交者: GitHub

Merge pull request #28854 from jaredpar/fix-test

Disable icacls use on Helix
......@@ -4975,6 +4975,14 @@ public void Bug15538()
{
return;
}
// The icacls command fails on our Helix machines and it appears to be related to the use of the $ in
// the username.
// https://github.com/dotnet/roslyn/issues/28836
if (StringComparer.OrdinalIgnoreCase.Equals(Environment.UserDomainName, "WORKGROUP"))
{
return;
}
}
var folder = Temp.CreateDirectory();
......
......@@ -6362,6 +6362,13 @@ End Module
<WorkItem(5664, "https://github.com/dotnet/roslyn/issues/5664")>
<ConditionalFact(GetType(IsEnglishLocal))>
Public Sub Bug15538()
' The icacls command fails on our Helix machines And it appears to be related to the use of the $ in
' the username.
' https://github.com/dotnet/roslyn/issues/28836
If StringComparer.OrdinalIgnoreCase.Equals(Environment.UserDomainName, "WORKGROUP") Then
Return
End If
Dim folder = Temp.CreateDirectory()
Dim source As String = folder.CreateFile("src.vb").WriteAllText("").Path
Dim ref As String = folder.CreateFile("ref.dll").WriteAllText("").Path
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册