Re: [PATCH v6 17/20] selftests/liveupdate: Add userspace API selftests
From: David Matlack
Date: Mon Nov 17 2025 - 14:39:23 EST
On Sat, Nov 15, 2025 at 3:34 PM Pasha Tatashin
<pasha.tatashin@xxxxxxxxxx> wrote:
> diff --git a/tools/testing/selftests/liveupdate/.gitignore b/tools/testing/selftests/liveupdate/.gitignore
> new file mode 100644
> index 000000000000..af6e773cf98f
> --- /dev/null
> +++ b/tools/testing/selftests/liveupdate/.gitignore
> @@ -0,0 +1 @@
> +/liveupdate
I would recommend the following .gitignore so you don't have to keep
updating it every time there's a new executable or other build
artifact. This is what we use in the KVM and VFIO selftests.
# SPDX-License-Identifier: GPL-2.0-only
*
!/**/
!*.c
!*.h
!*.S
!*.sh
!*.mk
!.gitignore
!config
!Makefile