Re: [PATCH 2/2] selftests: bpf: test_tc_edt: add missing object file to TEST_FILES

From: Song Liu
Date: Thu Nov 07 2019 - 12:55:32 EST


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_tc_edt.sh it will complain that test_tc_edt.o can't be find.
>
> $ ./test_tc_edt.sh
> Error opening object test_tc_edt.o: No such file or directory
> Object hashing failed!
> Cannot initialize ELF context!
> Unable to load program
>
> Rework to add test_tc_edt.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>

Acked-by: Song Liu <songliubraving@xxxxxx>