Files
u-boot/test
Heinrich Schuchardt af7eca24a7 cmd/setexpr: support concatenation of direct strings
The setexpr.s command allows to concatenate two strings.

According to the description in doc/usage/cmd/setexpr.rst the parameters
value1 and value2 can be either direct values or pointers to a
memory location holding the values.

Unfortunately `setexpr.s <value1> + <value2>` fails if any of the values
is a direct value. $? is set to false.

* Add support for direct values in setexpr.s.
* Correct the unit test for "setexpr.s fred 0".
* Add a new unit test for "setexpr.s fred '1' + '3'" giving '13'.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2025-02-07 13:35:23 -06:00
..
2024-10-11 11:44:48 -06:00
2025-01-26 11:06:56 +01:00
2024-10-14 17:58:52 -06:00
2024-11-13 11:56:02 -06:00
2023-04-03 06:53:53 +12:00
2025-01-24 14:34:41 -06:00