On Thu, Aug 06, 2026 at 03:37:24PM +0200, Mehmet Fide wrote:

> From: Mehmet Fide <[email protected]>
> 
> 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.
> 
> Signed-off-by: Mehmet Fide <[email protected]>
> ---
>  test/cmd/Makefile |  1 +
>  test/cmd/bootd.c  | 66 +++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 67 insertions(+)
>  create mode 100644 test/cmd/bootd.c

This causes most of CI to fail with:

=> ut cmd cmd_bootd_test
Test: cmd_bootd_test: bootd.c
hello bootd
hello bootd
Unknown command 'no_such_command' - try 'help' !

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to