wget bug report

Jerome Forissier jerome.forissier at linaro.org
Tue Nov 5 13:12:21 CET 2024


Hello Simon,

On 10/27/24 17:16, Simon Glass wrote:
> Hi Jerome,
> 
> Just something I noticed earlier...when running 'ut lib' I see this
> failure on sandbox:
> 
> test/cmd/wget.c:215, net_test_wget(): 0 == run_command("wget
> ${loadaddr} 1.1.2.2:/index.html", 0): Expected 0x0 (0), got 0x1 (1)

The reason is:

$ make sandbox_defconfig
$ make -j$(nproc)
$ ./u-boot -c "ut lib"
[...]
Net:         eth_initialize() No ethernet found.

I don't know how sandbox is supposed to instantiate ethernet devices?


> Also, since it is testing a command and is in test/cmd it really
> should be in the 'cmd' test suite, not 'lib'.

Agreed. I've posted a patch for that:
https://lore.kernel.org/u-boot/20241105120653.99438-1-jerome.forissier@linaro.org/T/#u

> 
> Regards,
> Simon

Thanks,
-- 
Jerome


More information about the U-Boot mailing list