First patch adds a new test for VLAN-unaware bridges.
Next two patches make the tests fail in case they are missing interfaces
or dependencies.
Last patch allows one to create the veth interfaces even without the
optional configuration file.
Ido Schimmel (4):
selftests: forwarding: Add a test for VLAN-unaware bridge
selftests: forwarding: Exit with error when missing dependencies
selftests: forwarding: Exit with error when missing interfaces
selftests: forwarding: Allow creation of interfaces without a config
file
.../net/forwarding/bridge_vlan_unaware.sh | 86 ++++++++++++++++++++++
.../net/forwarding/forwarding.config.sample | 9 +--
tools/testing/selftests/net/forwarding/lib.sh | 8 +-
3 files changed, 95 insertions(+), 8 deletions(-)
create mode 100755
tools/testing/selftests/net/forwarding/bridge_vlan_unaware.sh
--
2.14.3