summaryrefslogtreecommitdiff
path: root/samples/workqueue
diff options
context:
space:
mode:
authorRicardo B. Marlière <rbm@suse.com>2026-03-07 19:08:00 -0300
committerSteven Rostedt <rostedt@goodmis.org>2026-03-09 10:32:07 -0400
commitfcfc25725a19e7e41f788380df82cab42226de5a (patch)
tree1490812537ba6adb96aae1322970447cdd269bac /samples/workqueue
parenta2de57a3c8192dcd67cccaff6c341b93748d799b (diff)
ktest: Run commands through list-form shell open
run_command() currently uses string-form open(): open(CMD, "$command 2>&1 |") That delegates parsing to the shell but also mixes the stderr redirection into the command string. Switch to list-form open() with an explicit sh -c wrapper so shell syntax errors are captured in the same output stream as command output. Otherwise, important errors can not be retrieved from the ktest LOG_FILE. Cc: John Hawley <warthog9@eaglescrag.net> Cc: Andrea Righi <arighi@nvidia.com> Cc: Marcos Paulo de Souza <mpdesouza@suse.com> Cc: Matthieu Baerts <matttbe@kernel.org> Cc: Fernando Fernandez Mancera <fmancera@suse.de> Cc: Pedro Falcato <pfalcato@suse.de> Link: https://patch.msgid.link/20260307-ktest-fixes-v1-5-565d412f4925@suse.com Signed-off-by: Ricardo B. Marlière <rbm@suse.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'samples/workqueue')
0 files changed, 0 insertions, 0 deletions