test-runner: Fix parsing of command line
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 1 Mar 2022 23:26:14 +0000 (15:26 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:53 +0000 (14:55 +0530)
commit6cfb81c160c9f7de167b4483bf34085b95454705
tree7205120c6311af37a1a709fd68f84399116a3052
parent463d0a37715b042aec441e022a1528eade643315
test-runner: Fix parsing of command line

Instead of parsing the command line, which can contain a shell script,
run using /bin/sh so it allows more complex command line to be tested:

sudo tools/test-runner -l -d -k <pathto/bzImage> --
'client/bluetoothctl power on && sleep 2 && client/bluetoothctl power
off'

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
tools/test-runner.c