Re: [PATCH 1/2] selftests: bpf: test_lwt_ip_encap: add missing object file to TEST_FILES
From: Anders Roxell
Date: Sun Nov 10 2019 - 04:16:33 EST
On Thu, 7 Nov 2019 at 18:55, Song Liu <liu.song.a23@xxxxxxxxx> wrote:
>
> On Thu, Nov 7, 2019 at 4:53 AM Anders Roxell <anders.roxell@xxxxxxxxxx> wrote:
> >
> > When installing kselftests to its own directory and running the
> > test_lwt_ip_encap.sh it will complain that test_lwt_ip_encap.o can't be
> > find.
> >
> > $ ./test_lwt_ip_encap.sh
> > starting egress IPv4 encap test
> > Error opening object test_lwt_ip_encap.o: No such file or directory
> > Object hashing failed!
> > Cannot initialize ELF context!
> > Failed to parse eBPF program: Invalid argument
> >
> > Rework to add test_lwt_ip_encap.o to TEST_FILES so the object file gets
> > installed when installing kselftest.
> >
> > Fixes: 74b5a5968fe8 ("selftests/bpf: Replace test_progs and test_maps w/ general rule")
> > Signed-off-by: Anders Roxell <anders.roxell@xxxxxxxxxx>
>
> Please highlight that this set is on top of bpf-next tree with
> "[PATCH bpf-next 1/2]".
Oh right, I'll send out that shortly
Cheers,
Anders
>
> Otherwise, looks good to me.
>
> Acked-by: Song Liu <songliubraving@xxxxxx>