On Thu, Aug 24, 2023 at 02:28:51PM +0200, Magnus Karlsson wrote: > From: Magnus Karlsson <magnus.karlsson@xxxxxxxxx> > > In a number of places at en error, exit_with_error() is called that > terminates the whole test suite. This is not always desirable as it > would be more logical to only fail that test and then go along with > the other ones. So change this in a number of places in which I though nit: s/though/thought > it would be more logical to just fail the test in question. Examples > of this are in code that is only used by a single test. > > Also delete a pointless if-statement in receive_pkts() that has an > exit_with_error() in it. It can never occur since the return value is > an unisnged and the test is for less than zero. > > Signed-off-by: Magnus Karlsson <magnus.karlsson@xxxxxxxxx> > --- > tools/testing/selftests/bpf/xskxceiver.c | 70 ++++++++++++++++-------- > 1 file changed, 46 insertions(+), 24 deletions(-)