Update ExecutorTests command for Unix (dotnet/corefx#34207)
authorStephen Toub <stoub@microsoft.com>
Fri, 21 Dec 2018 21:26:58 +0000 (16:26 -0500)
committerGitHub <noreply@github.com>
Fri, 21 Dec 2018 21:26:58 +0000 (16:26 -0500)
Hopefully this fixes https://github.com/dotnet/corefx/pull/34185#issuecomment-449246163

Commit migrated from https://github.com/dotnet/corefx/commit/646a539c8654000ae014085abbaf8167d811a827

src/libraries/System.CodeDom/tests/System/CodeDom/Compiler/ExecutorTests.cs

index b766a20..c46fa5a 100644 (file)
@@ -11,7 +11,7 @@ namespace System.CodeDom.Compiler.Tests
 {
     public class ExecutorTests : RemoteExecutorTestBase
     {
-        private static readonly string s_cmd = PlatformDetection.IsWindows ? "ipconfig" : "ps"; // arbitrary commands to validate output
+        private static readonly string s_cmd = PlatformDetection.IsWindows ? "ipconfig" : "printenv"; // arbitrary commands to validate output
 
         [SkipOnTargetFramework(~TargetFrameworkMonikers.Netcoreapp, "Not supported on .NET Core")]
         [Fact]