ed20142e | 03-Jun-2024 |
Lukasz Majewski <lukma@denx.de> |
selftests: hsr: Extend the hsr_ping.sh test to use fixed MAC addresses
Fixed MAC addresses help with debugging as last four bytes identify the network namespace.
Signed-off-by: Lukasz Majewski <luk
selftests: hsr: Extend the hsr_ping.sh test to use fixed MAC addresses
Fixed MAC addresses help with debugging as last four bytes identify the network namespace.
Signed-off-by: Lukasz Majewski <lukma@denx.de> Link: https://lore.kernel.org/r/20240603093322.3150030-1-lukma@denx.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
show more ...
|
542e645c | 23-Apr-2024 |
Lukasz Majewski <lukma@denx.de> |
test: hsr: Add test for HSR RedBOX (HSR-SAN) mode of operation
This patch adds hsr_redbox.sh script to test if HSR-SAN mode of operation works correctly.
Signed-off-by: Lukasz Majewski <lukma@denx.
test: hsr: Add test for HSR RedBOX (HSR-SAN) mode of operation
This patch adds hsr_redbox.sh script to test if HSR-SAN mode of operation works correctly.
Signed-off-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
show more ...
|
40b90bf6 | 23-Apr-2024 |
Lukasz Majewski <lukma@denx.de> |
test: hsr: Extract version agnostic information from ping command output
Current code checks if ping command output match hardcoded pattern: "10 packets transmitted, 10 received, 0% packet loss,".
test: hsr: Extract version agnostic information from ping command output
Current code checks if ping command output match hardcoded pattern: "10 packets transmitted, 10 received, 0% packet loss,".
Such approach will work only from one ping program version (for which this test has been originally written). This patch address problem when ping with different summary output like "10 packets transmitted, 10 packets received, 0% packet" is used to run this test - for example one from busybox (as the test system runs in QEMU with rootfs created with buildroot).
The fix is to modify output of ping command to be agnostic to ping version used on the platform.
Signed-off-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
show more ...
|
154a82cb | 23-Apr-2024 |
Lukasz Majewski <lukma@denx.de> |
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 functional
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>
show more ...
|
b0e9c3b5 | 15-Sep-2023 |
Sebastian Andrzej Siewior <bigeasy@linutronix.de> |
selftests: hsr: Extend the testsuite to also cover HSRv1.
The testsuite already has simply tests for HSRv0. The testuite would have been able to notice the v1 breakage if it was there at the time.
selftests: hsr: Extend the testsuite to also cover HSRv1.
The testsuite already has simply tests for HSRv0. The testuite would have been able to notice the v1 breakage if it was there at the time.
Extend the testsuite to also cover HSRv1.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
d53f23fe | 15-Sep-2023 |
Sebastian Andrzej Siewior <bigeasy@linutronix.de> |
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_com
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>
show more ...
|