This pull request includes a change to the bpf_conformance_options function in src/bpf_conformance.cc to improve the handling of return values. The most important change is the addition of a step to strip any trailing whitespace from the return value string.
Improvements to return value handling:
src/bpf_conformance.cc: Added a step to strip any trailing whitespace from the return_value_string using a regular expression replacement.
coverage: 95.276% (+0.2%) from 95.082%
when pulling 6918736dc9f044a78cd24cc4c42144472645d499 on fix_whitespace_handling
into 28effb52b01e77880770cef79efa2c7855499bb6 on main.
This pull request includes a change to the
bpf_conformance_options
function insrc/bpf_conformance.cc
to improve the handling of return values. The most important change is the addition of a step to strip any trailing whitespace from the return value string.Improvements to return value handling:
src/bpf_conformance.cc
: Added a step to strip any trailing whitespace from thereturn_value_string
using a regular expression replacement.