Re: [PATCH 2/2] selftests: livepatch: functions.sh: Workaround heredoc on older bash

From: Petr Mladek

Date: Fri Mar 06 2026 - 09:34:07 EST


On Fri 2026-02-20 11:12:34, Marcos Paulo de Souza wrote:
> When running current selftests on older distributions like SLE12-SP5 that
> contains an older bash trips over heredoc. Convert it to plain echo
> calls, which ends up with the same result.
>
> Signed-off-by: Marcos Paulo de Souza <mpdesouza@xxxxxxxx>

JFYI, the patch has been committed into livepatch.git,
branch for-7.1/ftrace-test.

I have fixed the typo reported by Joe, see
https://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching.git/commit/?h=for-7.1/ftrace-test&id=920e5001f4beb38685d5b8cac061cb1d2760eeab

Best Regards,
Petr