Imported Upstream version 4.4.0.142

Former-commit-id: 08ca4d6ded648b2ac2eb817c12d5723b52edbb16
This commit is contained in:
Xamarin Public Jenkins
2016-04-28 08:44:23 -04:00
parent d444f0caa4
commit 67cc8417df
39 changed files with 187 additions and 47 deletions

View File

@@ -424,6 +424,10 @@ namespace MonoTests.Mono.Unix {
foreach (Thread t in threads)
t.Join ();
AssertCountSet (usignals);
// signal delivery might take some time, wait a bit before closing
// the UnixSignal so we can ignore it and not terminate the process
// when a SIGHUP/SIGTERM arrives afterwards
Thread.Sleep (1000);
CloseSignals (usignals);
}