From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Hrubis Date: Mon, 9 Apr 2018 11:44:40 +0200 Subject: [LTP] [RFC PATCH 6/6] syscalls/wait401: Rewrite to the new library In-Reply-To: <1134024977.11699650.1523004862083.JavaMail.zimbra@redhat.com> References: <20180405145015.7633-1-chrubis@suse.cz> <20180405145015.7633-7-chrubis@suse.cz> <1134024977.11699650.1523004862083.JavaMail.zimbra@redhat.com> Message-ID: <20180409094440.GA31983@rei> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi! > This doesn't seem to test that wait4() waits. The child can > end before call to wait4(). > > What if added call to tst_process_state_wait() to child, > so it waits on parent to sleep? If parent sleeps, then > it's likely waiting on child. That's a good idea, I've changed the test to do exactly that. OK to commit with the changes you requested or should I resend the fixed patchset? -- Cyril Hrubis chrubis@suse.cz