mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pythonlib/riotctrl_shell: use ping instead of ping6
This commit is contained in:
parent
a23fa5253f
commit
c4ad82f5e6
2
dist/pythonlibs/riotctrl_shell/gnrc.py
vendored
2
dist/pythonlibs/riotctrl_shell/gnrc.py
vendored
@ -532,7 +532,7 @@ class GNRCICMPv6Echo(ShellInteraction):
|
||||
async_=False,
|
||||
):
|
||||
cmd = (
|
||||
"ping6 {hostname} -c {count} -i {interval} "
|
||||
"ping {hostname} -c {count} -i {interval} "
|
||||
"-s {packet_size} -W {timeout}".format(
|
||||
hostname=hostname,
|
||||
count=count,
|
||||
|
@ -16,7 +16,7 @@ def test_ping6():
|
||||
si = riotctrl_shell.gnrc.GNRCICMPv6Echo(rc)
|
||||
res = si.ping6("::1", interval=100)
|
||||
# mock just returns last input
|
||||
assert "ping6" in res
|
||||
assert "ping" in res
|
||||
assert " ::1 " in res
|
||||
assert " -i 100 " in res
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user