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>
This commit is contained in:
Lukasz Majewski 2024-04-23 14:49:06 +02:00 • committed by Paolo Abeni
commit 154a82cb64
3 changed files with 88 additions and 78 deletions