On Fri, Aug 14, 2026 at 12:16:32PM -0600, Tom Rini wrote:
> 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' !

Hi Tom,

Reproduced it with test.py on sandbox. The unit test itself passes; what
fails is test.py's console watcher: the negative case deliberately runs
an unknown command, and the resulting "Unknown command 'no_such_command'
- try 'help'" line matches test.py's unknown_command bad pattern, which
aborts the test the moment it appears. That is why every test.py job
fails while "ut cmd" run directly is fine - I had only tested the
latter, sorry for the noise.

v3 replaces that case with "false", which fails without printing
anything. It is gated on CONFIG_HUSH_PARSER, since cmd/test.c providing
the command is only built with hush.

Best regards,
Mehmet

Reply via email to