On Fri, Apr 27, 2018 at 04:24:43PM -0700, John Fastabend wrote: > This runs existing SOCKMAP tests with SOCKHASH map type. To do this > we push programs into include file and build two BPF programs. One > for SOCKHASH and one for SOCKMAP. > > We then run the entire test suite with each type. > > Signed-off-by: John Fastabend <john.fastab...@gmail.com> > --- > tools/testing/selftests/bpf/Makefile | 3 > tools/testing/selftests/bpf/test_sockhash_kern.c | 4 > tools/testing/selftests/bpf/test_sockmap.c | 27 +- > tools/testing/selftests/bpf/test_sockmap_kern.c | 340 > ---------------------- > tools/testing/selftests/bpf/test_sockmap_kern.h | 340 > ++++++++++++++++++++++ > 5 files changed, 368 insertions(+), 346 deletions(-) > create mode 100644 tools/testing/selftests/bpf/test_sockhash_kern.c > create mode 100644 tools/testing/selftests/bpf/test_sockmap_kern.h
Looks like it was mainly a rename of test_sockmap_kern.c into .h but commit doesn't show it as such. Can you redo it with 'git mv' ?