[LTP] [PATCH v5 0/2] Rewrite utstest suite
Andrea Cervesato
andrea.cervesato@suse.com
Fri Feb 10 18:15:59 CET 2023
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
More information about the ltp
mailing list