[LTP] [PATCH v3 0/9] Rewrite userns testing suite using new LTP API

Andrea Cervesato andrea.cervesato@suse.de
Fri Mar 25 10:36:17 CET 2022


Removed TST_CHECKPOINT_INIT from tests and replaced libclone usage with the
internal LTP API clone API.

Andrea Cervesato (9):
  Rewrite userns01.c using new LTP API
  Rewrite userns02.c using new LTP API
  Rewrite userns03.c using new LTP API
  Rewrite userns03.c using new LTP API
  Rewrite userns05.c using new LTP API
  Rewrite userns06.c using new LTP API
  Rewrite userns07.c using new LTP API
  Remove libclone dependency from userns suite
  Remove obsolete userns_helper.h from userns suite

 testcases/kernel/containers/userns/Makefile   |  23 +-
 testcases/kernel/containers/userns/common.h   |  58 ++++
 testcases/kernel/containers/userns/userns01.c | 119 ++++----
 testcases/kernel/containers/userns/userns02.c | 138 ++++-----
 testcases/kernel/containers/userns/userns03.c | 284 ++++++++----------
 testcases/kernel/containers/userns/userns04.c | 138 +++------
 testcases/kernel/containers/userns/userns05.c | 146 ++++-----
 testcases/kernel/containers/userns/userns06.c | 180 +++++------
 .../containers/userns/userns06_capcheck.c     |  75 +++--
 testcases/kernel/containers/userns/userns07.c | 126 +++-----
 .../kernel/containers/userns/userns_helper.h  |  62 ----
 11 files changed, 586 insertions(+), 763 deletions(-)
 create mode 100644 testcases/kernel/containers/userns/common.h
 delete mode 100644 testcases/kernel/containers/userns/userns_helper.h

-- 
2.35.1



More information about the ltp mailing list