[PATCH 0/2] kselftests: livepatch: One new test and one fix for older bash

From: Marcos Paulo de Souza

Date: Fri Feb 20 2026 - 09:12:47 EST


I found the bash issue when running this new test on a SLE12-SP5. There
are still other issues that would need to be addressed, but with this
change, test-ftrace.sh can run on SLE12-SP5 withou issues.

Signed-off-by: Marcos Paulo de Souza <mpdesouza@xxxxxxxx>
---
Marcos Paulo de Souza (2):
selftests: livepatch: test-ftrace: livepatch a traced function
selftests: livepatch: functions.sh: Workaround heredoc on older bash

tools/testing/selftests/livepatch/functions.sh | 6 ++--
tools/testing/selftests/livepatch/test-ftrace.sh | 36 ++++++++++++++++++++++++
2 files changed, 38 insertions(+), 4 deletions(-)
---
base-commit: 6d6ad32e22f028c525d5df471c5522616e645a6b
change-id: 20260220-lp-test-trace-73b2f607960a

Best regards,
--
Marcos Paulo de Souza <mpdesouza@xxxxxxxx>