[LTP] [PATCH v4 00/10] Rewrite sysvipc testing suite using new LTP API

Andrea Cervesato
2022-03-25T12:55:03Z

Rewritten all sysvipc tests and removed libclone dependency.
Removed TST_CHECKPOINT_INIT from all tests and replaced it with the
.checkpoints support.

Andrea Cervesato (10):
Rewrite mesgq_nstest.c using new LTP API
Rewrite msg_comm.c using new LTP API
Rewrite sem_comm.c using new LTP API
Rewrite sem_nstest.c using new LTP API
Rewrite semtest_2ns.c using new LTP API
Rewrite shmnstest.c using new LTP API
Rewrite shmem_2nstest.c using new LTP API
Rewrite shm_comm.c using new LTP API
Remove libclone dependency from sysvipc test suite
Delete ipcns_helper.h in the sysvipc test suite

runtest/containers | 30 +-
testcases/kernel/containers/sysvipc/Makefile | 26 +-
testcases/kernel/containers/sysvipc/common.h | 110 ++++++
.../kernel/containers/sysvipc/ipcns_helper.h | 41 ---
.../kernel/containers/sysvipc/mesgq_nstest.c | 244 +++++--------
.../kernel/containers/sysvipc/msg_comm.c | 180 +++-------
.../kernel/containers/sysvipc/sem_comm.c | 178 +++-------
.../kernel/containers/sysvipc/sem_nstest.c | 212 ++++--------
.../kernel/containers/sysvipc/semtest_2ns.c | 326 +++++++-----------
.../kernel/containers/sysvipc/shm_comm.c | 167 +++------
.../kernel/containers/sysvipc/shmem_2nstest.c | 239 +++++--------
.../kernel/containers/sysvipc/shmnstest.c | 180 ++++------
12 files changed, 719 insertions(+), 1214 deletions(-)
create mode 100644 testcases/kernel/containers/sysvipc/common.h
delete mode 100644 testcases/kernel/containers/sysvipc/ipcns_helper.h