linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] selftests/liveupdate: add end to end test infrastructure and scripts
@ 2026-03-03  1:00 Jordan Richards
  2026-03-03  1:00 ` [PATCH v3 1/2] tools/nolibc: add ftruncate() Jordan Richards
  2026-03-03  1:00 ` [PATCH v3 2/2] selftests/liveupdate: add end to end test infrastructure and scripts Jordan Richards
  0 siblings, 2 replies; 3+ messages in thread
From: Jordan Richards @ 2026-03-03  1:00 UTC (permalink / raw)
  To: Pasha Tatashin, Mike Rapoport, Pratyush Yadav, Shuah Khan,
	Willy Tarreau, Thomas Weißschuh
  Cc: Jason Miu, David Matlack, linux-mm, linux-kernel,
	linux-kselftest, Jordan Richards

This patch series adds end to end testing infrastructure required to
verify the liveupdate feature, building and running the existing
selftests on supported architectures.

To support executing the selftests as part of an init process, this
patch series also adds ftruncate() to nolibc.

Changelog from v2 [1]:
- Removed unncessary nolibc/sys.h include in luo_test_utils.c
- In ftruncate(), use __NR_ftruncate64 when necessary
- Add ftruncate() test case to selftests/nolibc

[1] https://lore.kernel.org/linux-mm/20260205222329.2419035-1-jordanrichards@google.com/

Jordan Richards (1):
  tools/nolibc: add ftruncate()

Pasha Tatashin (1):
  selftests/liveupdate: add end to end test infrastructure and scripts

 tools/include/nolibc/arch-arm.h               |  11 +
 tools/include/nolibc/arch-mips.h              |  11 +
 tools/include/nolibc/arch-powerpc.h           |  11 +
 tools/include/nolibc/unistd.h                 |  35 +++
 tools/testing/selftests/liveupdate/.gitignore |   1 +
 tools/testing/selftests/liveupdate/config     |   1 +
 .../selftests/liveupdate/config.aarch64       |   2 +
 .../selftests/liveupdate/config.x86_64        |   2 +
 tools/testing/selftests/liveupdate/init.c     | 179 ++++++++++++
 .../testing/selftests/liveupdate/luo_test.sh  | 276 ++++++++++++++++++
 .../selftests/liveupdate/luo_test_utils.c     |  23 +-
 tools/testing/selftests/liveupdate/run.sh     |  63 ++++
 tools/testing/selftests/nolibc/nolibc-test.c  |  51 ++++
 13 files changed, 653 insertions(+), 13 deletions(-)
 create mode 100644 tools/testing/selftests/liveupdate/config.aarch64
 create mode 100644 tools/testing/selftests/liveupdate/config.x86_64
 create mode 100644 tools/testing/selftests/liveupdate/init.c
 create mode 100755 tools/testing/selftests/liveupdate/luo_test.sh
 create mode 100755 tools/testing/selftests/liveupdate/run.sh


base-commit: c95c8315909f078d16bffa2687346b4c63baf0a1
--
2.53.0.473.g4a7958ca14-goog


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

end of thread, other threads:[~2026-03-03  1:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-03  1:00 [PATCH v3 0/2] selftests/liveupdate: add end to end test infrastructure and scripts Jordan Richards
2026-03-03  1:00 ` [PATCH v3 1/2] tools/nolibc: add ftruncate() Jordan Richards
2026-03-03  1:00 ` [PATCH v3 2/2] selftests/liveupdate: add end to end test infrastructure and scripts Jordan Richards

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