Skip to content

Commit b327707

Browse files
committed
tests: check_selftest: ignore files outside of net
tools/testing/selftests/Makefile is not formatted according to our preference but we try to test it. Ignore files which don't have /net in their path. Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 71de735 commit b327707

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/patch/check_selftest/test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ def extract_files(patch):
143143
continue
144144
if 'tools/testing/selftests/' not in next_line:
145145
continue
146+
if '/net/' not in next_line:
147+
continue
146148

147149
file_path = next_line[6:]
148150

0 commit comments

Comments
 (0)