summaryrefslogtreecommitdiff
path: root/drivers/watchdog/sc1200wdt.c
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2024-04-23 15:49:07 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-04-26 13:04:43 +0300
commit40b90bf60ce10310baa7c4c2537cb3ee6ab622b9 (patch)
treec85776ce7e5a39ba8673dd956b32f4cc9b59fec9 /drivers/watchdog/sc1200wdt.c
parent154a82cb64be2f6f88f8eabd0d0353ea66adae43 (diff)
downloadlinux-40b90bf60ce10310baa7c4c2537cb3ee6ab622b9.tar.xz
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>
Diffstat (limited to 'drivers/watchdog/sc1200wdt.c')
0 files changed, 0 insertions, 0 deletions