diff mbox series

[v1] selftests/tdx: Add .gitignore

Message ID 20230818170454.19493-1-tuananhlfc@gmail.com (mailing list archive)
State New
Headers show
Series [v1] selftests/tdx: Add .gitignore | expand

Commit Message

Anh Tuan Phan Aug. 18, 2023, 5:04 p.m. UTC
Add .gitignore to ignore tools/testing/selftests/tdx/tdx_guest_test

Signed-off-by: Anh Tuan Phan <tuananhlfc@gmail.com>
---
 tools/testing/selftests/tdx/.gitignore | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 tools/testing/selftests/tdx/.gitignore

Comments

Sagi Shahar Aug. 18, 2023, 5:45 p.m. UTC | #1
On Fri, Aug 18, 2023 at 10:05 AM Anh Tuan Phan <tuananhlfc@gmail.com> wrote:
>
> Add .gitignore to ignore tools/testing/selftests/tdx/tdx_guest_test
>
> Signed-off-by: Anh Tuan Phan <tuananhlfc@gmail.com>
> ---
>  tools/testing/selftests/tdx/.gitignore | 2 ++
>  1 file changed, 2 insertions(+)
>  create mode 100644 tools/testing/selftests/tdx/.gitignore
>
> diff --git a/tools/testing/selftests/tdx/.gitignore b/tools/testing/selftests/tdx/.gitignore
> new file mode 100644
> index 000000000000..56dd26b77c07
> --- /dev/null
> +++ b/tools/testing/selftests/tdx/.gitignore
> @@ -0,0 +1,2 @@
> +# SPDX-License-Identifier: GPL-2.0-only
> +tdx_guest_test
> --
> 2.34.1
>

tools/testing/selftests/kvm/.gitignore recently switched to a positive
filter which might be easier to maintain in the future if you add more
tests. You might want to consider just using the same .gitignore here.
Anh Tuan Phan Aug. 18, 2023, 5:54 p.m. UTC | #2
On 19/08/2023 00:45, Sagi Shahar wrote:
> On Fri, Aug 18, 2023 at 10:05 AM Anh Tuan Phan <tuananhlfc@gmail.com> wrote:
>>
>> Add .gitignore to ignore tools/testing/selftests/tdx/tdx_guest_test
>>
>> Signed-off-by: Anh Tuan Phan <tuananhlfc@gmail.com>
>> ---
>>   tools/testing/selftests/tdx/.gitignore | 2 ++
>>   1 file changed, 2 insertions(+)
>>   create mode 100644 tools/testing/selftests/tdx/.gitignore
>>
>> diff --git a/tools/testing/selftests/tdx/.gitignore b/tools/testing/selftests/tdx/.gitignore
>> new file mode 100644
>> index 000000000000..56dd26b77c07
>> --- /dev/null
>> +++ b/tools/testing/selftests/tdx/.gitignore
>> @@ -0,0 +1,2 @@
>> +# SPDX-License-Identifier: GPL-2.0-only
>> +tdx_guest_test
>> --
>> 2.34.1
>>
> 
> tools/testing/selftests/kvm/.gitignore recently switched to a positive
> filter which might be easier to maintain in the future if you add more
> tests. You might want to consider just using the same .gitignore here.

Thanks for the feedback, it looks much more cleaner. I will send a patch 
v2 with the file copied from tools/testing/selftests/kvm/.gitignore.
diff mbox series

Patch

diff --git a/tools/testing/selftests/tdx/.gitignore b/tools/testing/selftests/tdx/.gitignore
new file mode 100644
index 000000000000..56dd26b77c07
--- /dev/null
+++ b/tools/testing/selftests/tdx/.gitignore
@@ -0,0 +1,2 @@ 
+# SPDX-License-Identifier: GPL-2.0-only
+tdx_guest_test