[LTP] [PATCH 0/3] Move container utils to testcases/lib/

Petr Vorel pvorel@suse.cz
Thu Mar 23 10:22:13 CET 2023


> > Hi!
> > > Preparation for https://github.com/linux-test-project/ltp/issues/991.

> > > NOTE: this patch conflicts with my other patch [1]
> > > (touching testcases/lib/{Makefile,.gitignore}).

> > > Kind regards,
> > > Petr

> > > [1] https://patchwork.ozlabs.org/project/ltp/patch/20230307145517.1359-2-pvorel@suse.cz/


> > > Petr Vorel (3):
> > >   ns_exec.c: Rename to testcases/lib/tst_ns_exec.c
> > >   ns_create.c: Rename to testcases/lib/tst_ns_create.c
> > >   ns_ifmove.c: Rename to testcases/lib/tst_ns_ifmove.c

> > >  doc/namespaces-helper-tools.txt               | 14 ++++++------
> > >  .../ns_common.h => include/tst_ns_common.h    |  6 ++---

> > I'm not sure about moving this header into top level include, it would
> > probably make more sense to add it next to the C files that include it.

> Sure, I'll put it there before merge (if it's the only thing to change).

BTW having header in testcases/lib/ will require to move ns_create.c together
with ns_exec.c in single commit (squash these 2 commits). But that should not be
a big deal.

Kind regards,
Petr

> Kind regards,
> Petr


More information about the ltp mailing list