
19 Dec
2022
19 Dec
'22
8:20 p.m.
On Sun, 18 Dec 2022 at 13:47, Marek Vasut marex@denx.de wrote:
Add a test which validates that exit from environment script works as expected, including return value propagation and clipping to positive integers.
Signed-off-by: Marek Vasut marex@denx.de
Cc: Adrian Vovk avovk@cc-sw.com Cc: Hector Palacios hector.palacios@digi.com Cc: Pantelis Antoniou pantelis.antoniou@konsulko.com Cc: Simon Glass sjg@chromium.org Cc: Tom Rini trini@konsulko.com
include/test/suites.h | 1 + test/cmd/Makefile | 2 +- test/cmd/exit.c | 135 ++++++++++++++++++++++++++++++++++++++++++ test/cmd_ut.c | 1 + 4 files changed, 138 insertions(+), 1 deletion(-) create mode 100644 test/cmd/exit.c
Reviewed-by: Simon Glass sjg@chromium.org