Correct .gitignore in several places for kselftest outputs
Subsystems (2)
Sincerely hope I did this right; first time contributor, learning the patch workflow. I took the opportunity to fix two .gitignore files that were leaving stale worktree/index outputs after running make kselftest against recent mainline (76c057c84d286140c6c416c3b4ba832cd1d8984e).
Thanks for your time!
PATCH 1/1 Correct leftover directories from make kselftest
Here are some directories that are created/filled as a part of the make kselftest process, but not ignored.
--- tools/testing/selftests/gpio/.gitignore | 1 + tools/testing/selftests/timens/.gitignore | 1 + 2 files changed, 2 insertions(+)
tools/testing/selftests/gpio/.gitignore +1 -0
@@ -1,2 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-only gpio-mockup-chardev +tools-gpio
tools/testing/selftests/timens/.gitignore +1 -0
@@ -7,3 +7,4 @@ procfs timens timer timerfd +futex
Signature · 1 line
2.25.1
Shuah Khan
maintainerRe: [PATCH] Correct leftover directories from make kselftest
Quoted 23 lines · Erik Hollensbe
Here are some directories that are created/filled as a part of the make kselftest process, but not ignored.
Signed-off-by Erik Hollensbe <[email protected]>--- tools/testing/selftests/gpio/.gitignore | 1 + tools/testing/selftests/timens/.gitignore | 1 + 2 files changed, 2 insertions(+)tools/testing/selftests/gpio/.gitignore +1
-0@@ -1,2 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-only gpio-mockup-chardev +tools-gpiotools/testing/selftests/timens/.gitignore +0
-0
tools/testing/selftests/timens/.gitignore procfs · line 10
Quoted 4 lines
tools/testing/selftests/timens/.gitignore +1
-0@@ -7,3 +7,4 @@ procfs timens timer timerfd +futex
Thank you for the patch.
Can you split these into two patches? make separate patches for gpio and timens.
Gives you more practice. :)
thanks,
-- Shuah
Shuah Khan
maintainerRe: [PATCH] Correct leftover directories from make kselftest
Quoted 31 lines · Shuah Khan
Quoted 22 lines · Erik Hollensbe
Here are some directories that are created/filled as a part of the make kselftest process, but not ignored.
Signed-off-by Erik Hollensbe <[email protected]>---
tools/testing/selftests/gpio/.gitignore | 1 +
tools/testing/selftests/timens/.gitignore| 1 +2 files changed, 2 insertions(+)tools/testing/selftests/gpio/.gitignore +0
-0@@ -1,2 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-onlygpio-mockup-chardev
tools/testing/selftests/gpio/.gitignore +1
-0+tools-gpiotools/testing/selftests/timens/.gitignore +0
-0@@ -7,3 +7,4 @@ procfsQuoted 5 lines
timens
timer
timerfd
+futexThank you for the patch.
Quoted 3 lines
Can you split these into two patches? make separate patches for gpio and timens.
Please send me just the gpio patch. I already applied this patch that fixes timens .gitignore.
https://patchwork.kernel.org/project/linux-kselftest/patch/[email protected]/
thanks,
-- Shuah
PATCH 1/1 selftests/gpio: Adjust .gitignore to ignore tools-gpio build dir
In reply to Shuah KhanThis patch merely add this to gitignore, noticed while running the selftests.
--- tools/testing/selftests/gpio/.gitignore | 1 + 1 file changed, 1 insertion(+)
tools/testing/selftests/gpio/.gitignore +1 -0
@@ -1,2 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-only gpio-mockup-chardev +tools-gpio
Signature · 1 line
2.25.1
Re: [PATCH] Correct leftover directories from make kselftest
In reply to Shuah KhanQuoted 6 lines · Shuah Khan
Thank you for the patch.
Can you split these into two patches? make separate patches for gpio and timens.
Gives you more practice. :)
I sent one for gpio; under a different email address (this one), it does reference the initial patch, however.
Hope that works. Thanks for letting me practice! :D
-Erik