tests: Fix trace parameter invocation
authorEduardo Abinader <eduardo.abinader@openbossa.org>
Tue, 25 Feb 2014 21:27:03 +0000 (17:27 -0400)
committerJouni Malinen <j@w1.fi>
Tue, 11 Mar 2014 17:09:40 +0000 (19:09 +0200)
commitb5008c2c2d99e77c0ba22dab87334f84a4228511
treebfc026fb3c37a098d48f6f394a785beef98a2979
parent1d91f504e43de9cc673be8fae73a443145f299c2
tests: Fix trace parameter invocation

If trace-cmd command does not exist, run-tests.py could end up hanging
in a loop waiting for input. Fix this simply by checking whether the
trace-cmd command can be executed sucessfully and exiting the script if
not.

Signed-off-by: Eduardo Abinader <eduardo.abinader@openbossa.org>
tests/hwsim/run-tests.py