test: wget: add a test case for validating URI
authorSughosh Ganu <sughosh.ganu@linaro.org>
Thu, 3 Jul 2025 06:43:08 +0000 (12:13 +0530)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Thu, 3 Jul 2025 08:34:20 +0000 (11:34 +0300)
commit46a564d689b61660919f11be332d47a206ed24d5
tree2518488114b4d83fba1c41d5c521e6d8629dc76d
parented004a260acdb196c8f36dffdb4c3b428f215616
test: wget: add a test case for validating URI

The wget module has a function wget_validate_uri() which is used for
validating the URI to be used by wget. Add a basic test case for this
function.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
test/cmd/wget.c