From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 009F42139B1 for ; Wed, 19 Jun 2024 08:49:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718786984; cv=none; b=eaujY7KevEjjZXdPvFAmFYQuOpjOPQdUdtHQsu3/GJcZcs1JYoW35SY6CV/CkmH0qVCTSmY5skjeHt8sxyEqqa30kaWo9bO5n6hXqEBbPGYESXoI16CMHLdk5NS884CJzNnrWCxyOISwVYjlRpGiq96A4XzJb0jxPErE4Six8iw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718786984; c=relaxed/simple; bh=fcZDrjD29BXKZPcDZwkx78OBSTrsUN8FD8jiw4Q/8A4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Jw3I3c/nv+kFm/imO1lvqQlXuCtCJ//3J3PglkYr5our13iOcmyz+pzEu8XL4gWclXKtkGoUhOW46oml4eS+Wh8nO4FFT/MTyXuMYdSwPODWVXS6v3ZoBw7IwYByMoB2Dzzh6p1djKb57C0XN4IXzX/NXCPQrCCQs8bmDkx3kuI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FaBOVCgX; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="FaBOVCgX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 708C0C2BBFC; Wed, 19 Jun 2024 08:49:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718786983; bh=fcZDrjD29BXKZPcDZwkx78OBSTrsUN8FD8jiw4Q/8A4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FaBOVCgXvAeqfGIAKVm5PFdaLSgUXUkf9A8N53xN53ggwoA1GDu+HZuk7MZ7TDvXV Vud4vahQLc3z5YnD9hL4peHoXHK0BzNcnUA5u5r4jXhWjN/CScG+71eDLXf3xJZ6Es 6GPKaZ76w/6+syEXQWvmVK2UrxC4a26l3xf3MN4c= Date: Wed, 19 Jun 2024 10:49:41 +0200 From: Greg KH To: Po-Hsu Lin Cc: stable@vger.kernel.org, petrm@nvidia.com, liuhangbin@gmail.com, pabeni@redhat.com, kuba@kernel.org, bpoirier@nvidia.com, idosch@nvidia.com Subject: Re: [PATCHv2 6.6.y 1/3] selftests/net: add lib.sh Message-ID: <2024061911-crinkly-pointer-f564@gregkh> References: <20240618075306.1073405-1-po-hsu.lin@canonical.com> <20240618075306.1073405-2-po-hsu.lin@canonical.com> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240618075306.1073405-2-po-hsu.lin@canonical.com> On Tue, Jun 18, 2024 at 03:53:04PM +0800, Po-Hsu Lin wrote: > From: Hangbin Liu > > 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 > Signed-off-by: Hangbin Liu > Signed-off-by: Paolo Abeni > Signed-off-by: Po-Hsu Lin > --- > 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