Set OmniSharp run script to be executable (#16772)
This commit is contained in:
parent
9289c6bd5d
commit
2fb3af9790
1 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,7 @@ using System;
|
|||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Net.Http;
|
||||
using System.Security.AccessControl;
|
||||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
using Xunit.Abstractions;
|
||||
|
@ -66,6 +67,9 @@ public class OmniSharpTests : SmokeTests
|
|||
|
||||
Directory.CreateDirectory(OmniSharpDirectory);
|
||||
Utilities.ExtractTarball(omniSharpTarballFile, OmniSharpDirectory, OutputHelper);
|
||||
|
||||
// Ensure the run script is executable (see https://github.com/OmniSharp/omnisharp-roslyn/issues/2547)
|
||||
File.SetUnixFileMode($"{OmniSharpDirectory}/run", UnixFileMode.UserRead | UnixFileMode.UserExecute);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue