Re: [PATCH for-next v3] selftests/filesystems: Add missing gitignore file

From: Charlie Jenkins
Date: Fri Dec 06 2024 - 12:59:24 EST


On Fri, Nov 22, 2024 at 03:37:25PM +0800, Li Zhijian wrote:
> Compiled binary files should be added to .gitignore
>
> 'git status' complains:
> Untracked files:
> (use "git add <file>..." to include in what will be committed)
> filesystems/statmount/statmount_test_ns
>
> Cc: Shuah Khan <shuah@xxxxxxxxxx>
> Cc: Christian Brauner <brauner@xxxxxxxxxx>
> Cc: Miklos Szeredi <mszeredi@xxxxxxxxxx>
> Cc: Josef Bacik <josef@xxxxxxxxxxxxxx>
> Signed-off-by: Li Zhijian <lizhijian@xxxxxxxxxxx>
> ---
> Hello,
> Cover letter is here.
>
> This patch set aims to make 'git status' clear after 'make' and 'make
> run_tests' for kselftests.
> ---
> V3:
> sorted the ignored files
> V2:
> split as a separate patch from a small one [0]
> [0] https://lore.kernel.org/linux-kselftest/20241015010817.453539-1-lizhijian@xxxxxxxxxxx/
>
> Signed-off-by: Li Zhijian <lizhijian@xxxxxxxxxxx>
> ---
> tools/testing/selftests/filesystems/statmount/.gitignore | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/testing/selftests/filesystems/statmount/.gitignore b/tools/testing/selftests/filesystems/statmount/.gitignore
> index 82a4846cbc4b..973363ad66a2 100644
> --- a/tools/testing/selftests/filesystems/statmount/.gitignore
> +++ b/tools/testing/selftests/filesystems/statmount/.gitignore
> @@ -1,2 +1,3 @@
> # SPDX-License-Identifier: GPL-2.0-only
> +statmount_test_ns

Thank you! This is still an issue in 6.13-rc1.

Reviewed-by: Charlie Jenkins <charlie@xxxxxxxxxxxx>
Tested-by: Charlie Jenkins <charlie@xxxxxxxxxxxx>

> /*_test
> --
> 2.44.0
>
>