Skip to content
Commit c2e39c6b authored by Florent Revest's avatar Florent Revest Committed by Alexei Starovoitov
Browse files

selftests/bpf: Add a series of tests for bpf_snprintf



The "positive" part tests all format specifiers when things go well.

The "negative" part makes sure that incorrect format strings fail at
load time.

Signed-off-by: default avatarFlorent Revest <revest@chromium.org>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210419155243.1632274-7-revest@chromium.org
parent 58c2b1f5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment