[LTP] [PATCH v1 0/8] Rewrite userns testing suite using new LTP API

Andrea Cervesato andrea.cervesato@suse.de
Fri Feb 11 10:26:38 CET 2022


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

Andrea Cervesato (8):
  Rewrite userns01.c test using new LTP API
  Rewrite userns02.c test using new LTP API
  Rewrite userns03.c test using new LTP API
  Rewrite userns04.c using new LTP API
  Rewrite userns05.c test using new LTP API
  Rewrite userns06.c test using new LTP API
  Rewrite userns07.c using new LTP API
  Rewrite userns08.c using new LTP API

 testcases/kernel/containers/userns/Makefile   |  23 +-
 testcases/kernel/containers/userns/common.h   |  58 +++++
 testcases/kernel/containers/userns/userns01.c | 111 ++++-----
 testcases/kernel/containers/userns/userns02.c | 132 +++++-----
 testcases/kernel/containers/userns/userns03.c | 235 +++++++++---------
 testcases/kernel/containers/userns/userns04.c | 129 ++++------
 testcases/kernel/containers/userns/userns05.c | 148 +++++------
 testcases/kernel/containers/userns/userns06.c | 175 ++++++-------
 .../containers/userns/userns06_capcheck.c     |  75 +++---
 testcases/kernel/containers/userns/userns07.c | 126 ++++------
 testcases/kernel/containers/userns/userns08.c |  49 ++--
 .../kernel/containers/userns/userns_helper.h  |  62 -----
 12 files changed, 598 insertions(+), 725 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