bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Improve error handling of verifier tests
@ 2020-11-28 19:25 Florian Lehner
  2020-11-28 19:25 ` [PATCH 1/2] selftests/bpf: Avoid errno clobbering Florian Lehner
  2020-11-28 19:25 ` [PATCH 2/2] selftests/bpf: Print reason when a tester could not run a program Florian Lehner
  0 siblings, 2 replies; 5+ messages in thread
From: Florian Lehner @ 2020-11-28 19:25 UTC (permalink / raw)
  To: bpf
  Cc: netdev, ast, daniel, andrii, john.fastabend, Florian Lehner,
	Krzesimir Nowak

These patches improve the error handling for verifier tests. With "Test
the 32bit narrow read" Krzesimir Nowak provided these patches first, but
they were never merged.
The improved error handling helps to implement and test BPF program types
that are not supported yet.

Florian Lehner (2):
  selftests/bpf: Avoid errno clobbering
  selftests/bpf: Print reason when a tester could not run a program

 tools/testing/selftests/bpf/test_verifier.c | 28 ++++++++++++++++-----
 1 file changed, 22 insertions(+), 6 deletions(-)

-- 
2.28.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-12-02  1:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-28 19:25 [PATCH 0/2] Improve error handling of verifier tests Florian Lehner
2020-11-28 19:25 ` [PATCH 1/2] selftests/bpf: Avoid errno clobbering Florian Lehner
2020-12-02  1:24   ` Andrii Nakryiko
2020-11-28 19:25 ` [PATCH 2/2] selftests/bpf: Print reason when a tester could not run a program Florian Lehner
2020-12-02  1:23   ` Andrii Nakryiko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).