diff options
author | Sughosh Ganu | 2022-07-22 21:32:09 +0530 |
---|---|---|
committer | Ilias Apalodimas | 2022-08-02 23:50:02 +0300 |
commit | de70619dd3db08e4a1ac881801d3fab979408fd3 (patch) | |
tree | fb86bd0d7fa19403cc5a2b9ffbca2f854e099edf /cmd | |
parent | 4bdbb54ee5f2abd6ee3d0ec6bcfc627ed7a6cd41 (diff) |
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>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index a8260aa170d..3625ff2a50b 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1964,6 +1964,7 @@ config CMD_GETTIME config CMD_RNG bool "rng command" depends on DM_RNG + default y if SANDBOX select HEXDUMP help Print bytes from the hardware random number generator. |