[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z4CdYzmSn2cySE_h@fedora>
Date: Fri, 10 Jan 2025 04:09:07 +0000
From: Hangbin Liu <liuhangbin@...il.com>
To: Alessandro Zanni <alessandro.zanni87@...il.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, shuah@...nel.org, netdev@...r.kernel.org,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] selftests/net/forwarding: teamd command not found
On Fri, Jan 10, 2025 at 01:07:44AM +0100, Alessandro Zanni wrote:
> Running "make kselftest TARGETS=net/forwarding" results in several
> occurrences of the same error:
> ./lib.sh: line 787: teamd: command not found
>
> Since many tests depends on teamd, this fix stops the tests if the
> teamd command is not installed.
>
> Signed-off-by: Alessandro Zanni <alessandro.zanni87@...il.com>
> ---
> tools/testing/selftests/net/forwarding/lib.sh | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/testing/selftests/net/forwarding/lib.sh b/tools/testing/selftests/net/forwarding/lib.sh
> index 7337f398f9cc..a6a74a4be4bf 100644
> --- a/tools/testing/selftests/net/forwarding/lib.sh
> +++ b/tools/testing/selftests/net/forwarding/lib.sh
> @@ -784,6 +784,7 @@ team_destroy()
> {
> local if_name=$1; shift
>
> + require_command $TEAMD
> $TEAMD -t $if_name -k
> }
I saw team_create() has `require_command $TEAMD`. Is some test called
team_destroy() before team_create()?
Powered by blists - more mailing lists