Skip to content

Commit 8987ede

Browse files
anakryikoAlexei Starovoitov
authored andcommitted
selftests/bpf: Fix .gitignore to not ignore test_progs.c
List all possible test_progs flavors explicitly to avoid accidentally ignoring valid source code files. In this case, test_progs.c was still ignored after recent 809ed84 ("selftests/bpf: Whitelist test_progs.h from .gitignore") fix that added exception only for test_progs.h. Fixes: 74b5a59 ("selftests/bpf: Replace test_progs and test_maps w/ general rule") Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20210914162228.3995740-1-andrii@kernel.org
1 parent c035407 commit 8987ede

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ test_tag
99
FEATURE-DUMP.libbpf
1010
fixdep
1111
test_dev_cgroup
12-
/test_progs*
13-
!test_progs.h
12+
/test_progs
13+
/test_progs-no_alu32
14+
/test_progs-bpf_gcc
1415
test_verifier_log
1516
feature
1617
test_sock

0 commit comments

Comments
 (0)