Skip to content

Commit 809ed84

Browse files
danobianakryiko
authored andcommitted
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: 74b5a59 ("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
1 parent 1f26622 commit 809ed84

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tools/testing/selftests/bpf/.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ FEATURE-DUMP.libbpf
1010
fixdep
1111
test_dev_cgroup
1212
/test_progs*
13+
!test_progs.h
1314
test_verifier_log
1415
feature
1516
test_sock

0 commit comments

Comments
 (0)