Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 809ed84de8b3 ("selftests/bpf: Whitelist test_progs.h
from .gitignore") fix that added exception only for test_progs.h.

Fixes: 74b5a5968fe8 ("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

authored by

Andrii Nakryiko and committed by
Alexei Starovoitov
8987ede3 c0354077

+3 -2
+3 -2
tools/testing/selftests/bpf/.gitignore
··· 9 9 FEATURE-DUMP.libbpf 10 10 fixdep 11 11 test_dev_cgroup 12 - /test_progs* 13 - !test_progs.h 12 + /test_progs 13 + /test_progs-no_alu32 14 + /test_progs-bpf_gcc 14 15 test_verifier_log 15 16 feature 16 17 test_sock