]> git.sur5r.net Git - u-boot/blobdiff - test/command_ut.c
hush: return consistent codes from run_command()
[u-boot] / test / command_ut.c
index e136075541b76c4a21096f4619a6ea0f7a180f69..a4f034179b0fc1cd881836d852ce700503c61c58 100644 (file)
@@ -188,6 +188,9 @@ static int do_ut_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 #endif
 #endif
 
+       assert(run_command("", 0) == 0);
+       assert(run_command(" ", 0) == 0);
+
        printf("%s: Everything went swimmingly\n", __func__);
        return 0;
 }