You've already forked linux-packaging-mono
Imported Upstream version 4.0.3.13
Former-commit-id: 4f1f69b42e04def9a697c2550b23b9cae645ef29
This commit is contained in:
@ -840,5 +840,19 @@ namespace MonoTests.System.Diagnostics
|
||||
public void HasExitedCurrent () {
|
||||
Assert.IsFalse (Process.GetCurrentProcess ().HasExited);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void DisposeWithDisposedStreams ()
|
||||
{
|
||||
var psi = GetCrossPlatformStartInfo ();
|
||||
psi.RedirectStandardInput = true;
|
||||
psi.RedirectStandardOutput = true;
|
||||
psi.UseShellExecute = false;
|
||||
|
||||
var p = Process.Start (psi);
|
||||
p.StandardInput.BaseStream.Dispose ();
|
||||
p.StandardOutput.BaseStream.Dispose ();
|
||||
p.Dispose ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user