tests: shell: shell_flash: Add a test for 'flash read'

Add a simple test for this command to check that the output is as
expected.

This requires a larger output buffer in shell_dummy, so update that
too.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2020-05-07 16:08:36 -06:00 committed by Anas Nashif
commit 740b99c937
5 changed files with 107 additions and 1 deletions

View file

@ -24,7 +24,7 @@ struct shell_dummy {
size_t len;
/** output buffer to collect shell output */
char buf[100];
char buf[300];
};
#define SHELL_DUMMY_DEFINE(_name) \