]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: rng: Add a UT testcase for the rng command
authorSughosh Ganu <sughosh.ganu@linaro.org>
Fri, 22 Jul 2022 16:02:09 +0000 (21:32 +0530)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Tue, 2 Aug 2022 20:50:02 +0000 (23:50 +0300)
commitde70619dd3db08e4a1ac881801d3fab979408fd3
treefb86bd0d7fa19403cc5a2b9ffbca2f854e099edf
parent4bdbb54ee5f2abd6ee3d0ec6bcfc627ed7a6cd41
test: rng: Add a UT testcase for the rng command

The 'rng' command dumps a number of random bytes on the console. Add a
set of tests for the 'rng' command. The test function performs basic
sanity testing of the command.

Since a unit test is being added for the command, enable it by default
in the sandbox platforms.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/Kconfig
test/dm/rng.c