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:
Henrik Brix Andersen
2022-09-06 13:24:24 +02:00
committed by Fabio Baltieri
parent 4a702ea21e
commit d785c01b97

View File

@@ -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;
}