[PATCH] doc: document test command
Simon Glass
sjg at chromium.org
Sat May 10 13:25:38 CEST 2025
On Tue, 6 May 2025 at 22:55, Rasmus Villemoes <ravi at prevas.dk> wrote:
>
> Add documentation for the test command, including the newly added =~
> operator and some gotchas wrt. the numeric comparisons.
>
> Signed-off-by: Rasmus Villemoes <ravi at prevas.dk>
> ---
>
> This should be considered on top of
> https://lore.kernel.org/u-boot/20250506141035.385756-1-ravi@prevas.dk/
> , but everything other than the regex-related stuff could stand on its
> own.
>
> My rst-fu is quite weak.
>
> doc/usage/cmd/setexpr.rst | 5 ++-
> doc/usage/cmd/test.rst | 95 +++++++++++++++++++++++++++++++++++++++
> doc/usage/index.rst | 1 +
> 3 files changed, 99 insertions(+), 2 deletions(-)
> create mode 100644 doc/usage/cmd/test.rst
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list