diff options
| author | Tom Rini <[email protected]> | 2025-02-07 13:35:32 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-02-07 13:35:32 -0600 |
| commit | ac3dcb0c2710c4917d93d6d2eb34dbfb00516bc2 (patch) | |
| tree | af301f49742901d2490ef4563b91fc3b2ceff0b7 /include/linux | |
| parent | 7a20c89bd05155675bd9f316c4cffc36961f1070 (diff) | |
| parent | af7eca24a78b1419656d618463f1eabe297fdb2f (diff) | |
Merge patch series "cmd/setexpr: support concatenation of direct strings"
Heinrich Schuchardt <[email protected]> says:
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'.
* Remove invalid memory leak tests
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
