test: cmd: add test for wget command.
authorYing-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Tue, 8 Nov 2022 06:17:31 +0000 (14:17 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 28 Nov 2022 18:06:40 +0000 (13:06 -0500)
commitd6abc7e2e027956eb0b5e73bb2be5cf995b15ae6
treec7a0591ef0195a7ee9f22eddc7f42cf72d019cbb
parentbfce0ca9d48dbee7c06526db808ae20759545db5
test: cmd: add test for wget command.

Simulate a TCP HTTP server's response for testing wget command.

Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Cc: Christian Gmeiner <christian.gmeiner@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Ramon Fried <rfried.dev@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
test/cmd/Makefile
test/cmd/wget.c [new file with mode: 0644]