Skip to content

Commit

Permalink
kunit: try to split with pipe
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Kicinski <[email protected]>
  • Loading branch information
kuba-moo committed Jun 7, 2024
1 parent f982632 commit 573848f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contest/remote/kunit.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ def load_expected(config):
for l in lines:
if not l:
continue
words = l.split()
words = l.split('|')
if len(words) != 3:
words = l.split()
if words[0] not in expected:
expected[words[0]] = {}
grp = expected[words[0]]
Expand Down

0 comments on commit 573848f

Please sign in to comment.