On Wed, Sep 13, 2023 at 01:02:31PM +0200, Magnus Karlsson wrote: > From: Magnus Karlsson <magnus.karlsson@xxxxxxxxx> > > In a number of places at en error, exit_with_error() is called that hmm...translator interprets 'at en error' as danish language:P > 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 > 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. your fingers got funky over that 'unisnged' > > Signed-off-by: Magnus Karlsson <magnus.karlsson@xxxxxxxxx> > --- > tools/testing/selftests/bpf/xskxceiver.c | 70 ++++++++++++++++-------- > 1 file changed, 46 insertions(+), 24 deletions(-)