tests: Use cmd_execute() for iw reg set 00
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)
commita548c37bad6c038156952efb7a59bdb1b7615fca
treed34fe6654286fba66b4648013a12e62d468ff7b8
parentfb120f1652ddebe9062d1eacf87661fff14ee092
tests: Use cmd_execute() for iw reg set 00

The hwsim tests used to execute shell commands in the tests using the
subprocess python module. Use the cmd_execute() general function for
executing "iw reg set 00" so that this would also work on remote setups.

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