public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-next v3] selftests/filesystems: Add missing gitignore file
@ 2024-11-22  7:37 Li Zhijian
  2024-12-06 17:59 ` Charlie Jenkins
  2024-12-10 17:10 ` Shuah Khan
  0 siblings, 2 replies; 4+ messages in thread
From: Li Zhijian @ 2024-11-22  7:37 UTC (permalink / raw)
  To: linux-kselftest
  Cc: shuah, linux-kernel, Li Zhijian, Christian Brauner,
	Miklos Szeredi, Josef Bacik

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@kernel.org>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Miklos Szeredi <mszeredi@redhat.com>
Cc: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
---
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@fujitsu.com/

Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
---
 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
 /*_test
-- 
2.44.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH for-next v3] selftests/filesystems: Add missing gitignore file
  2024-11-22  7:37 [PATCH for-next v3] selftests/filesystems: Add missing gitignore file Li Zhijian
@ 2024-12-06 17:59 ` Charlie Jenkins
  2024-12-10 17:10 ` Shuah Khan
  1 sibling, 0 replies; 4+ messages in thread
From: Charlie Jenkins @ 2024-12-06 17:59 UTC (permalink / raw)
  To: Li Zhijian
  Cc: linux-kselftest, shuah, linux-kernel, Christian Brauner,
	Miklos Szeredi, Josef Bacik

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@kernel.org>
> Cc: Christian Brauner <brauner@kernel.org>
> Cc: Miklos Szeredi <mszeredi@redhat.com>
> Cc: Josef Bacik <josef@toxicpanda.com>
> Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
> ---
> 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@fujitsu.com/
> 
> Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
> ---
>  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@rivosinc.com>
Tested-by: Charlie Jenkins <charlie@rivosinc.com>

>  /*_test
> -- 
> 2.44.0
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH for-next v3] selftests/filesystems: Add missing gitignore file
  2024-11-22  7:37 [PATCH for-next v3] selftests/filesystems: Add missing gitignore file Li Zhijian
  2024-12-06 17:59 ` Charlie Jenkins
@ 2024-12-10 17:10 ` Shuah Khan
  2024-12-11  0:50   ` Zhijian Li (Fujitsu)
  1 sibling, 1 reply; 4+ messages in thread
From: Shuah Khan @ 2024-12-10 17:10 UTC (permalink / raw)
  To: Li Zhijian, linux-kselftest
  Cc: shuah, linux-kernel, Christian Brauner, Miklos Szeredi,
	Josef Bacik, Shuah Khan

On 11/22/24 00:37, 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@kernel.org>
> Cc: Christian Brauner <brauner@kernel.org>
> Cc: Miklos Szeredi <mszeredi@redhat.com>
> Cc: Josef Bacik <josef@toxicpanda.com>
> Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
> ---
> 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@fujitsu.com/
> 
> Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
> ---
>   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
>   /*_test
'
I am seeing duplicate signature warning on this patch. Please
fix and send a correct patch.

thanks,
-- Shuah

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH for-next v3] selftests/filesystems: Add missing gitignore file
  2024-12-10 17:10 ` Shuah Khan
@ 2024-12-11  0:50   ` Zhijian Li (Fujitsu)
  0 siblings, 0 replies; 4+ messages in thread
From: Zhijian Li (Fujitsu) @ 2024-12-11  0:50 UTC (permalink / raw)
  To: Shuah Khan, linux-kselftest@vger.kernel.org
  Cc: shuah@kernel.org, linux-kernel@vger.kernel.org, Christian Brauner,
	Miklos Szeredi, Josef Bacik



On 11/12/2024 01:10, Shuah Khan wrote:
> On 11/22/24 00:37, 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@kernel.org>
>> Cc: Christian Brauner <brauner@kernel.org>
>> Cc: Miklos Szeredi <mszeredi@redhat.com>
>> Cc: Josef Bacik <josef@toxicpanda.com>
>> Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
>> ---
>> 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@fujitsu.com/
>>
>> Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
>> ---
>>   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
>>   /*_test
> '
> I am seeing duplicate signature warning on this patch. Please
> fix and send a correct patch.

Good catch, fixed and posted an updated revision.

Thanks
Zhijian



> 
> thanks,
> -- Shuah

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-12-11  0:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-22  7:37 [PATCH for-next v3] selftests/filesystems: Add missing gitignore file Li Zhijian
2024-12-06 17:59 ` Charlie Jenkins
2024-12-10 17:10 ` Shuah Khan
2024-12-11  0:50   ` Zhijian Li (Fujitsu)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox