[LTP] [PATCH v5 0/2] Rewrite utstest suite

Richard Palethorpe rpalethorpe@suse.de
Tue Feb 14 11:36:18 CET 2023


Hello,

Merged, thanks!

Andrea Cervesato via ltp <ltp@lists.linux.it> writes:

> Added new tests and removed utstest which looked broken.
>
> Andrea Cervesato (2):
>   Add SAFE_SETHOSTNAME macro
>   Rewrite utsname testing suite
>
>  include/safe_net_fn.h                         |   3 +
>  include/tst_safe_net.h                        |   3 +
>  lib/safe_net.c                                |  17 +
>  runtest/containers                            |  16 +-
>  .../kernel/containers/utsname/.gitignore      |   5 +-
>  testcases/kernel/containers/utsname/Makefile  |  23 +-
>  .../containers/utsname/runutstests_noltp.sh   |  41 --
>  .../kernel/containers/utsname/utsname01.c     |  56 +++
>  .../kernel/containers/utsname/utsname02.c     |  81 ++++
>  .../kernel/containers/utsname/utsname03.c     | 118 ++++++
>  .../kernel/containers/utsname/utsname04.c     |  52 +++
>  testcases/kernel/containers/utsname/utstest.c | 353 ------------------
>  12 files changed, 343 insertions(+), 425 deletions(-)
>  delete mode 100755 testcases/kernel/containers/utsname/runutstests_noltp.sh
>  create mode 100644 testcases/kernel/containers/utsname/utsname01.c
>  create mode 100644 testcases/kernel/containers/utsname/utsname02.c
>  create mode 100644 testcases/kernel/containers/utsname/utsname03.c
>  create mode 100644 testcases/kernel/containers/utsname/utsname04.c
>  delete mode 100644 testcases/kernel/containers/utsname/utstest.c
>
> -- 
> 2.35.3


-- 
Thank you,
Richard.


More information about the ltp mailing list