mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
tests: shell: add missing assert
Add missing assert after polling for the dummy shell backend to be ready.
Fixes: 491f4dd701
Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
This commit is contained in:
committed by
Fabio Baltieri
parent
4a702ea21e
commit
d785c01b97
@@ -495,6 +495,7 @@ static void *shell_setup(void)
|
||||
|
||||
/* Wait for the initialization of the shell dummy backend. */
|
||||
WAIT_FOR(shell_ready(sh), 20000, k_msleep(1));
|
||||
zassert_true(shell_ready(sh), "timed out waiting for dummy shell backend");
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user