Hi!
> } else {
> + if (pid < 0) {
> + tst_brkm(TBROK|TERRNO, cleanup, "fork failed");
> + }
The check should be done right after the fork() and not in the else
branch. Also there shoudln't be the curly braces around the tst_brkm()
since it's just a signle line.
Otherwise it's fine.
--
Cyril Hrubis
chrubis@suse.cz