[LTP] [PATCH v7 2/2] ptrace06: Refactor the test using new LTP API

Cyril Hrubis chrubis@suse.cz
Fri Jan 17 11:42:35 CET 2025


Hi!
> > +/*
> > + * Copyright (c) 2018 Linux Test Project
> > + * Copyright (C) 2015 Cyril Hrubis chrubis@suse.cz
> > + */
> > +
> > +#define TST_NO_DEFAULT_MAIN
> > +#include "tst_test.h"
> > +
> > +int main(int argc, char *argv[])
> 
> ptrace06_child.c:10:14: warning: unused parameter ‘argc’ [-Wunused-parameter]
>    10 | int main(int argc, char *argv[])
> 
> > +{
> > +
> nit: empty line ^
> > +	tst_res(TPASS, "%s executed", argv[0]);
> > +
> > +	return 0;
> > +}
> 
> I suggest to merge the patchset with this change in this commit.
> 
> @Cyril: Can I add your RBT?

Have you seen my review? That file is not used at all. And also the
TEST() statement in the actual test.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list