From: Jordan Richards <jordanrichards@google.com>
To: "Pasha Tatashin" <pasha.tatashin@soleen.com>,
"Mike Rapoport" <rppt@kernel.org>,
"Pratyush Yadav" <pratyush@kernel.org>,
"Shuah Khan" <shuah@kernel.org>, "Willy Tarreau" <w@1wt.eu>,
"Thomas Weißschuh" <linux@weissschuh.net>
Cc: Jason Miu <jasonmiu@google.com>,
David Matlack <dmatlack@google.com>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org,
linux-kselftest@vger.kernel.org,
Jordan Richards <jordanrichards@google.com>
Subject: [PATCH v3 0/2] selftests/liveupdate: add end to end test infrastructure and scripts
Date: Tue, 3 Mar 2026 01:00:37 +0000 [thread overview]
Message-ID: <20260303010039.2969125-1-jordanrichards@google.com> (raw)
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
next reply other threads:[~2026-03-03 1:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-03 1:00 Jordan Richards [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260303010039.2969125-1-jordanrichards@google.com \
--to=jordanrichards@google.com \
--cc=dmatlack@google.com \
--cc=jasonmiu@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux@weissschuh.net \
--cc=pasha.tatashin@soleen.com \
--cc=pratyush@kernel.org \
--cc=rppt@kernel.org \
--cc=shuah@kernel.org \
--cc=w@1wt.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox