From: Oleksij Rempel Add ../lib.sh and ../lib/sh/*.sh to TEST_INCLUDES. net/lib.sh sources lib/sh/defer.sh. The install needs lib.sh and the lib/sh scripts. test_raw_filter.sh sources ../lib.sh, but the Makefile does not install lib.sh. A full selftest install works, because the net tests install lib.sh. An install of only net/can does not work. The installed test_raw_filter.sh cannot find lib.sh. Found by installing the tests with "make TARGETS=net/can install". With this change the installed test_raw_filter.sh runs. Fixes: 77442ffa83e8 ("selftests: can: Import tst-filter from can-tests") Signed-off-by: Oleksij Rempel Link: https://patch.msgid.link/20261130-j1939-selftests-v7-1-2491693ccb8d@pengutronix.de Signed-off-by: Marc Kleine-Budde --- tools/testing/selftests/net/can/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/testing/selftests/net/can/Makefile b/tools/testing/selftests/net/can/Makefile index 5b82e60a03e7..3adaa13dcbfa 100644 --- a/tools/testing/selftests/net/can/Makefile +++ b/tools/testing/selftests/net/can/Makefile @@ -6,6 +6,8 @@ CFLAGS += -Wall -Wl,--no-as-needed -O2 -g -I$(top_srcdir)/usr/include $(KHDR_INC TEST_PROGS := test_raw_filter.sh +TEST_INCLUDES := ../lib.sh $(wildcard ../lib/sh/*.sh) + TEST_GEN_FILES := test_raw_filter include ../../lib.mk base-commit: 76c4fde2458287eb92924f35fe7888e5fc427ed5 -- 2.53.0