]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Fix .gitignore to not ignore test_progs.c
authorAndrii Nakryiko <andrii@kernel.org>
Tue, 14 Sep 2021 16:22:28 +0000 (09:22 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 15 Sep 2021 01:41:14 +0000 (18:41 -0700)
commitc73e83d047a9a3037087a4e6378642b2711cfa23
tree6aa12126bee98c73f94ad93d6e90afa106f9c46b
parent2804a6e831928b84015473f32f74054beddfff0f
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 0415b29f5113 ("selftests/bpf: Whitelist test_progs.h
from .gitignore") fix that added exception only for test_progs.h.

Fixes: 2652f7372993 ("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
tools/testing/selftests/bpf/.gitignore