[LTP] [PATCH v4 0/2] Rewrite utstest suite
Andrea Cervesato
andrea.cervesato@suse.com
Wed Jan 25 11:00:41 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 | 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 | 71 ++++
.../kernel/containers/utsname/utsname02.c | 96 +++++
.../kernel/containers/utsname/utsname03.c | 110 ++++++
.../kernel/containers/utsname/utsname04.c | 66 ++++
testcases/kernel/containers/utsname/utstest.c | 353 ------------------
13 files changed, 496 insertions(+), 415 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