projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
selftests: forwarding: bridge_mdb_max: Check iproute2 version
[linux-block.git]
/
tools
/
testing
/
selftests
/
net
/
forwarding
/
bridge_mdb_max.sh
diff --git
a/tools/testing/selftests/net/forwarding/bridge_mdb_max.sh
b/tools/testing/selftests/net/forwarding/bridge_mdb_max.sh
index ae255b662ba38b324d437ede643889882e070bbe..fa762b71628893bf722e70c6e78f00fa47fac8d7 100755
(executable)
--- a/
tools/testing/selftests/net/forwarding/bridge_mdb_max.sh
+++ b/
tools/testing/selftests/net/forwarding/bridge_mdb_max.sh
@@
-1328,6
+1328,11
@@
test_8021qvs()
switch_destroy
}
+if ! bridge link help 2>&1 | grep -q "mcast_max_groups"; then
+ echo "SKIP: iproute2 too old, missing bridge \"mcast_max_groups\" support"
+ exit $ksft_skip
+fi
+
trap cleanup EXIT
setup_prepare