[LTP] [PATCH v2 0/5] .needs_abi_bits + rewrite fork14 to new API

Petr Vorel pvorel@suse.cz
Tue May 21 12:53:43 CEST 2024


Hi,

Changes v1->v2:
* Change from .skip_in_32bit to .needs_abi_bits
* update fork14 to use .needs_abi_bits
* convert sbrk03.c to use .needs_abi_bits and .supported_archs
  (NOTE: it'd be nice if .supported_archs also printed supported archs
  in TCONF, so far it only states that the current arch is not
  supported)
* Convert setsockopt0[38].c to use tst_is_compat_mode()

Andrea Cervesato (1):
  Refactor fork14 using new LTP API

Petr Vorel (4):
  tst_kernel.h: Convert docs to sphinx
  lib: Add .needs_abi_bits
  sbrk03: Convert to detect support with flags
  setsockopt0[38]: Use tst_is_compat_mode()

 doc/developers/api_c_tests.rst                |   2 +
 include/tst_kernel.h                          |  55 +++--
 include/tst_test.h                            |   7 +-
 lib/tst_kernel.c                              |  10 +
 lib/tst_test.c                                |   5 +-
 testcases/kernel/syscalls/fork/fork14.c       | 209 ++++++++----------
 testcases/kernel/syscalls/sbrk/sbrk03.c       |   9 +-
 .../kernel/syscalls/setsockopt/setsockopt03.c |   5 +-
 .../kernel/syscalls/setsockopt/setsockopt08.c |   6 +-
 9 files changed, 165 insertions(+), 143 deletions(-)

-- 
2.43.0



More information about the ltp mailing list