[LTP] [PATCH v2 0/2] Rewrite utstest suite
Andrea Cervesato
andrea.cervesato@suse.com
Mon Oct 31 12:30:44 CET 2022
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 | 7 +
.../kernel/containers/utsname/.gitignore | 5 +-
testcases/kernel/containers/utsname/Makefile | 23 +-
.../containers/utsname/runutstests_noltp.sh | 41 --
testcases/kernel/containers/utsname/utsname.h | 116 ++++++
.../kernel/containers/utsname/utsname01.c | 74 ++++
.../kernel/containers/utsname/utsname02.c | 97 +++++
.../kernel/containers/utsname/utsname03.c | 111 ++++++
.../kernel/containers/utsname/utsname04.c | 66 ++++
testcases/kernel/containers/utsname/utstest.c | 356 ------------------
13 files changed, 501 insertions(+), 418 deletions(-)
delete mode 100755 testcases/kernel/containers/utsname/runutstests_noltp.sh
create mode 100644 testcases/kernel/containers/utsname/utsname.h
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