summaryrefslogtreecommitdiff
path: root/test/dm/dsa.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-04-23 08:53:23 -0600
committerTom Rini <trini@konsulko.com>2025-04-23 08:53:23 -0600
commit5d4a6995bb4311203a024200a402508fdf5d7dfb (patch)
tree6410ca5d2528856f84e425630d9109ea2961070b /test/dm/dsa.c
parent4446bc331c65d3efb8a9321d6368c61edb56479b (diff)
parent49ae68536f234c423c78e89913c64ae9b87ed0e8 (diff)
Merge tag 'net-20250423' of https://source.denx.de/u-boot/custodians/u-boot-net
Pull request net-20250423 net: - Make initr_net() invocation command line agnostic net-legacy: - net: dhcpv6: remove excluded middle expression - net: dhcp6: Send DHCPv6 using multicast MAC net-lwip: - lwIP sandbox tests misc: - cmd: Remove CMD_NET protection
Diffstat (limited to 'test/dm/dsa.c')
-rw-r--r--test/dm/dsa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/dm/dsa.c b/test/dm/dsa.c
index c6b4e12a758..9a31ae39d95 100644
--- a/test/dm/dsa.c
+++ b/test/dm/dsa.c
@@ -63,15 +63,15 @@ DM_TEST(dm_test_dsa_probe, UTF_SCAN_FDT);
*/
static int dm_test_dsa(struct unit_test_state *uts)
{
- net_ping_ip = string_to_ip("1.2.3.5");
+ char *argv[] = { "ping", "1.1.2.2" };
env_set("ethact", "eth2");
- ut_assertok(net_loop(PING));
+ ut_assertok(do_ping(NULL, 0, ARRAY_SIZE(argv), argv));
env_set("ethact", "lan0");
- ut_assertok(net_loop(PING));
+ ut_assertok(do_ping(NULL, 0, ARRAY_SIZE(argv), argv));
env_set("ethact", "lan1");
- ut_assertok(net_loop(PING));
+ ut_assertok(do_ping(NULL, 0, ARRAY_SIZE(argv), argv));
env_set("ethact", "");