commit | eb1f51c5153ef1de77adc4bcd1b533b9f6de7e0b | [log] [tgz] |
---|---|---|
author | Han Pingtian <hanpt@linux.vnet.ibm.com> | Tue Apr 12 21:13:24 2016 +0800 |
committer | Cyril Hrubis <chrubis@suse.cz> | Tue Apr 12 15:29:40 2016 +0200 |
tree | 15183f38493a907d3587c0be72b0cc16527cac89 | |
parent | ede6aee8ee1486eec0c163f0a2c3c35dc2529555 [diff] |
syscalls/waitpid02: check if fork failed Break the test if fork failed. Or this test case will kill a lot of processes on the system (when -1 ends up passed as a pid to kill()). Signed-off-by: Han Pingtian <hanpt@linux.vnet.ibm.com> Reviewed-by: Cyril Hrubis <chrubis@suse.cz>