On Tue, Jun 18, 2024 at 03:53:04PM +0800, Po-Hsu Lin wrote: > From: Hangbin Liu <liuhangbin@xxxxxxxxx> > > commit 25ae948b447881bf689d459cd5bd4629d9c04b20 upstream. > > Add a lib.sh for net selftests. This file can be used to define commonly > used variables and functions. Some commonly used functions can be moved > from forwarding/lib.sh to this lib file. e.g. busywait(). > > Add function setup_ns() for user to create unique namespaces with given > prefix name. > > Reviewed-by: Petr Machata <petrm@xxxxxxxxxx> > Signed-off-by: Hangbin Liu <liuhangbin@xxxxxxxxx> > Signed-off-by: Paolo Abeni <pabeni@xxxxxxxxxx> > Signed-off-by: Po-Hsu Lin <po-hsu.lin@xxxxxxxxxxxxx> > --- > tools/testing/selftests/net/Makefile | 2 +- > tools/testing/selftests/net/forwarding/lib.sh | 27 +-------- > tools/testing/selftests/net/lib.sh | 85 +++++++++++++++++++++++++++ > 3 files changed, 87 insertions(+), 27 deletions(-) > create mode 100644 tools/testing/selftests/net/lib.sh This patch fails to apply on the lates 6.6.y tree: checking file tools/testing/selftests/net/Makefile Hunk #1 FAILED at 54. 1 out of 1 hunk FAILED checking file tools/testing/selftests/net/forwarding/lib.sh checking file tools/testing/selftests/net/lib.sh Please rebase and resubmit. thanks, greg k-h