tests/remote: Fix execution of setup_hw
authorJonathan Afek <jonathan@wizery.com>
Thu, 19 May 2016 13:06:50 +0000 (16:06 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 28 May 2016 13:34:19 +0000 (16:34 +0300)
commit483053b9d8236df75b9dfb7314b4c450707a1e61
tree3c09236156af6f07efa1d4eb187a35f839d191bf
parent8efc83d4e7b88c6496989f8e58e44fc94134d57d
tests/remote: Fix execution of setup_hw

The code contained some places that used an additional argument for
setup_hw after -R and also contained places where setup_hw cmdline was
passed as a string instead of an argument list. It also contained places
where the ifname was only treated as a single interface and disregarded
the possiblity of multiple interfaces. This commit fixes these issues
and executes setup_hw from a single function for all cases.

Signed-off-by: Jonathan Afek <jonathanx.afek@intel.com>
tests/remote/monitor.py
tests/remote/rutils.py
tests/remote/test_devices.py