projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sunxi: Complete i2c support for each supported platform
[oweals/u-boot.git]
/
test
/
command_ut.c
diff --git
a/test/command_ut.c
b/test/command_ut.c
index e136075541b76c4a21096f4619a6ea0f7a180f69..926573a39543c816281a879922ce9ca4c83dd3b1 100644
(file)
--- a/
test/command_ut.c
+++ b/
test/command_ut.c
@@
-188,6
+188,11
@@
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);
+
+ assert(run_command("'", 0) == 1);
+
printf("%s: Everything went swimmingly\n", __func__);
return 0;
}