From 4d5f823b0fcbb4452b6f087d1c57df11576e583f Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Mon, 20 Mar 2017 23:57:31 +0100 Subject: [PATCH] [System] Fix Process tests on watch --- .../System/Test/System.Diagnostics/ProcessTest.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/mcs/class/System/Test/System.Diagnostics/ProcessTest.cs b/mcs/class/System/Test/System.Diagnostics/ProcessTest.cs index cb3827785af..be41016a4d2 100644 --- a/mcs/class/System/Test/System.Diagnostics/ProcessTest.cs +++ b/mcs/class/System/Test/System.Diagnostics/ProcessTest.cs @@ -23,6 +23,13 @@ namespace MonoTests.System.Diagnostics [TestFixture] public class ProcessTest { + static bool RunningOnUnix { + get { + int p = (int)Environment.OSVersion.Platform; + return ((p == 128) || (p == 4) || (p == 6)); + } + } + [Test] public void GetProcessById_MachineName_Null () { @@ -729,13 +736,6 @@ namespace MonoTests.System.Diagnostics bytesRead = stm.EndRead (ar); } - static bool RunningOnUnix { - get { - int p = (int)Environment.OSVersion.Platform; - return ((p == 128) || (p == 4) || (p == 6)); - } - } - public int bytesRead = -1; [Test] -- 2.25.1