[LTP] [PATCH v1 0/2] Rewrite utstest testing suite
Andrea Cervesato
andrea.cervesato@suse.com
Thu Aug 18 13:01:15 CEST 2022
Added new tests and removed utstest which looked broken.
Andrea Cervesato (2):
Add SAFE_SETHOSTNAME macro
Rewrite utsname testing suite
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 ------------------
12 files changed, 498 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