]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Whitelist test_progs.h from .gitignore
authorDaniel Xu <dxu@dxuuu.xyz>
Wed, 16 Jun 2021 21:52:11 +0000 (14:52 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 16 Jun 2021 23:33:37 +0000 (16:33 -0700)
commitcda03f530c5c15e1e1126ef1ca4bb896381ffdb1
tree9874d1cf444fb4e72f8cd509dd3c4248ea23f1c2
parent2fde1e700d3b72e1a938cd6282a15074644e456f
selftests/bpf: Whitelist test_progs.h from .gitignore

Somehow test_progs.h was being included by the existing rule:

    /test_progs*

This is bad because:

    1) test_progs.h is a checked in file
    2) grep-like tools like ripgrep[0] respect gitignore and
       test_progs.h was being hidden from searches

[0]: https://github.com/BurntSushi/ripgrep

Fixes: 5ff9b45984d3 ("selftests/bpf: Replace test_progs and test_maps w/ general rule")
Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/a46f64944bf678bc652410ca6028d3450f4f7f4b.1623880296.git.dxu@dxuuu.xyz
tools/testing/selftests/bpf/.gitignore