diff options
| author | Petr Machata <petrm@nvidia.com> | 2025-09-04 19:07:24 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-11 19:02:50 -0700 |
| commit | d89d3b29ce1a081507bf7b0a18405dc6b8e69a21 (patch) | |
| tree | 622946d2cdebcf96168d40d15188a3c15c19abb2 /rust/helpers/platform.c | |
| parent | 21446c06b441b9c993870efae71aef4e9aa72ec7 (diff) | |
selftests: defer: Allow spaces in arguments of deferred commands
Currently the way deferred commands are stored and invoked causes any
whitespace to act as an argument separator when the command is executed.
To make it possible to use spaces in deferred commands, store the commands
quoted, and then eval the string prior to execution.
Fixes: a6e263f125cd ("selftests: net: lib: Introduce deferred commands")
Signed-off-by: Petr Machata <petrm@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/6c2523139a6f99103889c9c9fedcdc66a75441f4.1757004393.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
