Skip to content

Commit

Permalink
selftest/lkdtm: Use local .gitignore
Browse files Browse the repository at this point in the history
Commit 68ca0fd ("selftest/lkdtm: Don't pollute 'git status'")
introduced patterns for git to ignore files generated in
tools/testing/selftests/lkdtm/

Use local .gitignore file instead of using the root one.

Fixes: 68ca0fd ("selftest/lkdtm: Don't pollute 'git status'")
Signed-off-by: Christophe Leroy <[email protected]>
Acked-by: Kees Cook <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
  • Loading branch information
chleroy authored and shuahkh committed Mar 2, 2020
1 parent ef89d05 commit f3a6026
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,6 @@ modules.order
/include/ksym/
/arch/*/include/generated/

# Generated lkdtm tests
/tools/testing/selftests/lkdtm/*.sh
!/tools/testing/selftests/lkdtm/run.sh

# stgit generated dirs
patches-*

Expand Down
2 changes: 2 additions & 0 deletions tools/testing/selftests/lkdtm/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.sh
!run.sh

0 comments on commit f3a6026

Please sign in to comment.