[LTP] [PATCH v3 2/2] add ksm test for smart-scan feature

Petr Vorel pvorel@suse.cz
Tue Dec 5 15:58:34 CET 2023


Hi all,

...
> > +
> > +	while (waitpid(-1, &status, 0) > 0)
> > +		if (WEXITSTATUS(status) != 0)
> > +			tst_res(TFAIL, "child exit status is %d",
> > +					WEXITSTATUS(status));

> Does the test fork a child? I do not see any place in the code that
> would do so, did I miss something?

Ah, I also pointed out this is useless, but forget to point out that
.forks_child = 1 should be also removed.

Kind regards,
Petr


More information about the ltp mailing list