summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_root_node.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2025-02-03 16:10:29 +0100
committerTom Rini <trini@konsulko.com>2025-02-07 13:35:23 -0600
commitaf7eca24a78b1419656d618463f1eabe297fdb2f (patch)
tree7b12ea285a455fdbd417c1fa1aea062a65fde2f4 /lib/efi_loader/efi_root_node.c
parentd4265cdcd57c1975d4e756ab1778c837acc9776c (diff)
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>
Diffstat (limited to 'lib/efi_loader/efi_root_node.c')
0 files changed, 0 insertions, 0 deletions