Re: [PATCH] selftests: livepatch use TEST_PROGS for test shell scripts

From: Petr Mladek
Date: Mon Apr 15 2019 - 08:43:00 EST


On Fri 2019-04-12 15:37:37, Miroslav Benes wrote:
> From: Miroslav Benes <mbenes@xxxxxxx>
> Date: Fri, 12 Apr 2019 15:31:42 +0200
> Subject: [PATCH] selftests/livepatch: Add functions.sh to TEST_PROGS_EXTENDED
>
> Add functions.sh to TEST_PROGS_EXTENDED so that it is installed along
> with the rest of the selftests and they can be run.
>
> Originally-by: Shuah Khan <shuah@xxxxxxxxxx>
> Signed-off-by: Miroslav Benes <mbenes@xxxxxxx>
> ---
> tools/testing/selftests/livepatch/Makefile | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/testing/selftests/livepatch/Makefile b/tools/testing/selftests/livepatch/Makefile
> index 114f43e2081a..fd405402c3ff 100644
> --- a/tools/testing/selftests/livepatch/Makefile
> +++ b/tools/testing/selftests/livepatch/Makefile
> @@ -1,5 +1,6 @@
> # SPDX-License-Identifier: GPL-2.0
>
> +TEST_PROGS_EXTENDED := functions.sh
> TEST_PROGS := \
> test-livepatch.sh \
> test-callbacks.sh \
> --
> 2.21.0

The patch has been committed into the branch for-5.1/upstream-fixes.

Best Regards,
Petr