summaryrefslogtreecommitdiff
path: root/test/cmd/bootd.c
AgeCommit message (Collapse)Author
9 daystest: cmd: add a test for bootdMehmet Fide
There is no test for the bootd command. Add one to the cmd suite that covers the documented behaviour: bootd and its "boot" alias run the command held in the bootcmd environment variable, and the return value of bootd is the one of that command. Also assert the recursion guard in cmd_process(), which is part of the code bootd carries. Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Mehmet Fide <[email protected]>