]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: add Error: prefix in check_extack helper
authorJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 10 Jul 2018 21:42:56 +0000 (14:42 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 11 Jul 2018 20:13:33 +0000 (22:13 +0200)
commit1700676ab863c3a9975150a1ed6309516a31ccdc
treed4dbf08389cfbf3822da370b264c7eb11a8c0a12
parent9b7b76b69808415603deb66beed2341c3e454149
selftests/bpf: add Error: prefix in check_extack helper

Currently the test only checks errors, not warnings, so save typing
and prefix the extack messages with "Error:" inside the check helper.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/test_offload.py