test: hsr: Move common code to hsr_common.sh file
authorLukasz Majewski <lukma@denx.de>
Tue, 23 Apr 2024 12:49:06 +0000 (14:49 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Fri, 26 Apr 2024 10:04:43 +0000 (12:04 +0200)
commit154a82cb64be2f6f88f8eabd0d0353ea66adae43
treeb1e3553f6d00b65f34f0363b2eb9777be3ae270b
parent680fda4f671452d99401f294f20b60b3fdf24191
test: hsr: Move common code to hsr_common.sh file

Some of the code already present in the hsr_ping.sh test program can be
moved to a separate script file, so it can be reused by other HSR
functionality (like HSR-SAN) tests.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/selftests/net/hsr/Makefile
tools/testing/selftests/net/hsr/hsr_common.sh [new file with mode: 0644]
tools/testing/selftests/net/hsr/hsr_ping.sh