[LTP] [PATCH v1] Remove ltp_clone_quick usage from pidns suite

Petr Vorel pvorel@suse.cz
Wed Mar 29 07:33:24 CEST 2023


Hi all,

> >  static void run(void)
> >  {
> > -	int ret;
> > +	const struct tst_clone_args args = { CLONE_NEWNS, SIGCHLD };

> At some point CLONE_NEWNS was substituted for CLONE_NEWPID. It still
> passes because TST_EXP_PASS expects a zero return val. It should be
> TST_EXP_EXPR or similar.

Good catch. I suppose copy paste error. These were introduced during testsuite
rewrite, later Andrea fixed the docparse description in 3fc912172, but not the
actual value in tst_clone_args.

Kind regards,
Petr


More information about the ltp mailing list