[Mono-devel-list] Patch: System.Diagnostics tests
flashdict at gmail.com
Tue Apr 12 11:53:00 EDT 2005
While working to get mono up and running on FreeBSD, I discovered that
there were no tests for System.Diagnostics which were being run.
There are, however, a couple of tests in the group which use
System.Diagnostics, but they weren't as portable as they could have
been, and lacked information for the test driver, and didn't catch
I enclose a patch for these two, process1.cs and process2.cs. They
should now run anywhere (OSX untested), including ordinary command
shell under windows, and I think they can be included in the default
More detailed description of the patch follows.
- Catch System.ComponentModel.Win32Exception (not found) and return success
- execute a process based on Platform check
- WaitForExit five seconds
- Kill if nec
- return process exit code
- Add process1.cs and process2.cs to the list
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Mono-devel-list