diff options
author | Davide Caratti <dcaratti@redhat.com> | 2020-02-03 18:29:29 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-11 15:35:29 +0300 |
commit | fbee8f61747fd82ad9e2bc95099d203871f53306 (patch) | |
tree | e65dde3f0a11dff1be6ba0017ad51e2cf231e560 /samples | |
parent | f7a2ccc00a364ff5b380933101836dfb2304390c (diff) | |
download | linux-fbee8f61747fd82ad9e2bc95099d203871f53306.tar.xz |
tc-testing: fix eBPF tests failure on linux fresh clones
commit 7145fcfffef1fad4266aaf5ca96727696916edb7 upstream.
when the following command is done on a fresh clone of the kernel tree,
[root@f31 tc-testing]# ./tdc.py -c bpf
test cases that need to build the eBPF sample program fail systematically,
because 'buildebpfPlugin' is unable to install the kernel headers (i.e, the
'khdr' target fails). Pass the correct environment to 'make', in place of
ENVIR, to allow running these tests.
Fixes: 4c2d39bd40c1 ("tc-testing: use a plugin to build eBPF program")
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions