// // // // // $Revision$ // using System; using System.Threading; namespace Debugger.Tests.TestPrograms { public class TerminateRunningProcess { static ManualResetEvent doSomething = new ManualResetEvent(false); public static void Main() { doSomething.WaitOne(); } } } #if TEST_CODE namespace Debugger.Tests { public partial class DebuggerTests { [NUnit.Framework.Test] public void TerminateRunningProcess() { StartTest("TerminateRunningProcess.cs", false); process.Terminate(); process.WaitForExit(); StartTest("TerminateRunningProcess.cs", false); process.Terminate(); process.WaitForExit(); CheckXmlOutput(); } } } #endif #if EXPECTED_OUTPUT #endif // EXPECTED_OUTPUT