tests: Add functions to execute shell commands on interface host
authorJonathan Afek <jonathan@wizery.com>
Tue, 7 Jun 2016 13:42:40 +0000 (16:42 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 19 Jun 2016 20:48:07 +0000 (23:48 +0300)
commit7fd9fbc27dd8a028e8dd6e3716b87a43a5fac9d8
treee12b624e70fa2701b756bbfac4d9af588dc846da
parent3b208346ec56342fda736e62601df485ed002493
tests: Add functions to execute shell commands on interface host

Add the feature to execute shell commands on each wpa_supplicant/hostapd
interface host. When executing remote tests the interfaces are not all
on a single host so when executing shell commands the test needs to
execute the command on the host which the interface relevant for the
command is on. This patch enables tests to execute the command on the
relevant host.

Signed-off-by: Jonathan Afek <jonathanx.afek@intel.com>
tests/hwsim/hostapd.py
tests/hwsim/wpasupplicant.py