Linux Test Project
 help / color / mirror / Atom feed
* [LTP] [PATCH 0/4] enhance .save_restore to support set value
@ 2022-03-08  7:37 Li Wang
  2022-03-08  7:37 ` [LTP] [PATCH 1/4] lib: move struct tst_sys_conf to internal Li Wang
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Li Wang @ 2022-03-08  7:37 UTC (permalink / raw)
  To: ltp

This makes .save_restore to support set expected value after
saving the knob's original to be possible, the main change
is convert the NULL-terminated string to struct tst_path_val.

And the rest part is preparing and cleanup work.

Li Wang (4):
  lib: move struct tst_sys_conf to internal
  lib: enhance .save_restore to support set expected value
  testcase: switch to the new .save_restore
  ksm: cleanup work and make use of .save_restore

 doc/c-test-api.txt                            | 16 +++----
 include/tst_sys_conf.h                        |  8 ++--
 include/tst_test.h                            |  2 +-
 lib/newlib_tests/test19.c                     | 14 +++----
 lib/newlib_tests/test20.c                     | 10 ++---
 lib/tst_sys_conf.c                            | 19 +++++++++
 lib/tst_test.c                                |  9 ++--
 testcases/cve/icmp_rate_limit01.c             |  4 +-
 testcases/kernel/containers/userns/userns08.c |  4 +-
 testcases/kernel/mem/ksm/ksm01.c              | 42 +++++++------------
 testcases/kernel/mem/ksm/ksm02.c              | 29 ++++---------
 testcases/kernel/mem/ksm/ksm03.c              | 29 ++++---------
 testcases/kernel/mem/ksm/ksm04.c              | 28 ++++---------
 testcases/kernel/mem/ksm/ksm05.c              | 29 ++++---------
 testcases/kernel/mem/ksm/ksm06.c              | 10 ++---
 testcases/kernel/mem/ksm/ksm_common.h         |  2 -
 testcases/kernel/syscalls/add_key/add_key05.c | 16 ++-----
 testcases/kernel/syscalls/bind/bind06.c       |  4 +-
 testcases/kernel/syscalls/madvise/madvise08.c |  4 +-
 .../syscalls/migrate_pages/migrate_pages02.c  |  5 +--
 testcases/kernel/syscalls/sendto/sendto03.c   |  4 +-
 .../kernel/syscalls/setsockopt/setsockopt05.c |  4 +-
 .../kernel/syscalls/setsockopt/setsockopt06.c |  4 +-
 .../kernel/syscalls/setsockopt/setsockopt07.c |  4 +-
 .../kernel/syscalls/setsockopt/setsockopt08.c |  4 +-
 .../kernel/syscalls/setsockopt/setsockopt09.c |  4 +-
 26 files changed, 130 insertions(+), 178 deletions(-)

-- 
2.31.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2022-03-10  8:01 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-08  7:37 [LTP] [PATCH 0/4] enhance .save_restore to support set value Li Wang
2022-03-08  7:37 ` [LTP] [PATCH 1/4] lib: move struct tst_sys_conf to internal Li Wang
2022-03-08 12:25   ` Cyril Hrubis
2022-03-08  7:37 ` [LTP] [PATCH 2/4] lib: enhance .save_restore to support set expected value Li Wang
2022-03-08 13:02   ` Cyril Hrubis
2022-03-09  2:27     ` Li Wang
2022-03-08  7:37 ` [LTP] [PATCH 3/4] testcase: switch to the new .save_restore Li Wang
2022-03-08 13:05   ` Cyril Hrubis
2022-03-08  7:37 ` [LTP] [PATCH 4/4] ksm: cleanup work and make use of .save_restore Li Wang
2022-03-08 13:20   ` Cyril Hrubis
2022-03-09  3:04 ` [LTP] [PATCH v2 1/3] lib: move struct tst_sys_conf to internal Li Wang
2022-03-09  3:04   ` [LTP] [PATCH v2 2/3] lib: enhance .save_restore to support set expected value Li Wang
2022-03-09 10:00     ` Cyril Hrubis
2022-03-10  1:26       ` Li Wang
2022-03-10  7:43     ` xuyang2018.jy
2022-03-10  7:53       ` Li Wang
2022-03-10  8:01         ` xuyang2018.jy
2022-03-09  3:04   ` [LTP] [PATCH v2 3/3] ksm: cleanup work and make use of .save_restore Li Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox