Commit 46a8bb4
committed
tests: check_selftest: make sure we extract the base name
For C files we are trimming the .c from the needle, but then
still use path in the search. So the .c suffix remains leading
to:
tools/testing/selftests/net/af_unix/so_peek_off.c not found in Makefile
so_peek_off.c not found in .gitignore
Signed-off-by: Jakub Kicinski <[email protected]>1 parent 2a3f501 commit 46a8bb4
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | | - | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | | - | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
0 commit comments