]> www.infradead.org Git - users/hch/misc.git/commit
selftests/net/forwarding: teamd command not found
authorAlessandro Zanni <alessandro.zanni87@gmail.com>
Tue, 14 Jan 2025 00:33:16 +0000 (01:33 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 15 Jan 2025 22:14:40 +0000 (14:14 -0800)
commit7a649f39dab77b494b2b2dd38153d0ba7b037c4b
treedb21b49e63ebffeb004a5dc2761a702b941db00c
parent2974e66ba0897ad7dccc0de68d493793f161649d
selftests/net/forwarding: teamd command not found

Running "make kselftest TARGETS=net/forwarding" results in
multiple ccurrences of the same error:
- ./lib.sh: line 787: teamd: command not found

This patch adds the variable $REQUIRE_TEAMD in every test that uses the
command teamd and checks the $REQUIRE_TEAMD variable in the file "lib.sh"
to skip the test if the command is not installed.

Signed-off-by: Alessandro Zanni <alessandro.zanni87@gmail.com>
Link: https://patch.msgid.link/20250114003323.97207-1-alessandro.zanni87@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/mlxsw/rif_bridge.sh
tools/testing/selftests/drivers/net/mlxsw/rif_lag.sh
tools/testing/selftests/drivers/net/mlxsw/rif_lag_vlan.sh
tools/testing/selftests/net/forwarding/lib.sh
tools/testing/selftests/net/forwarding/mirror_gre_bridge_1q_lag.sh
tools/testing/selftests/net/forwarding/mirror_gre_lag_lacp.sh
tools/testing/selftests/net/forwarding/router_bridge_1d_lag.sh
tools/testing/selftests/net/forwarding/router_bridge_lag.sh