]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: hsr: Reorder the testsuite.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 15 Sep 2023 18:10:05 +0000 (20:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Sep 2023 07:26:19 +0000 (08:26 +0100)
commitd53f23fe164c24335d001cf725599a95e6fdf92d
treee732f318e8869d23ad0aa983e1cc0e1958fa040b
parent5c3ce539a11185268aff3bb30d2fad8c7fa42f86
selftests: hsr: Reorder the testsuite.

Move the code and group into functions so it will be easier to extend
the test to HSRv1 so that both versions are covered.

Move the ping/test part into do_complete_ping_test() and the interface
setup into setup_hsr_interfaces().

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/hsr/hsr_ping.sh