tests: Use cmd_execute() for ip addr add/del
authorJonathan Afek <jonathan@wizery.com>
Thu, 23 Jun 2016 17:16:29 +0000 (20:16 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 27 Jun 2016 18:10:35 +0000 (21:10 +0300)
commit40c62e6e8d815ee99d6fa29ac7c4a22cea5be68b
treea2d80ad3201c3eff0745f9f100f1eec0908b7a40
parent2d588c657836ec42f864ac527e1fc5f893f71817
tests: Use cmd_execute() for ip addr add/del

The hwsim tests used to execute shell commands in the tests using the
subprocess python module. Use the cmd_execute() general function for
executing "ip addr add/del .." so that this would also work on remote
setups.

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