tests: Use cmd_execute() for iw station get command
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)
commit137fd0509955060aeac62c5a17f02ae44307b496
tree59d677e8499589217d18ac7cb07d15ac65146b40
parent525f8293e5e74f1b19013ffa6be17ac65e4c124d
tests: Use cmd_execute() for iw station get command

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 ... station get" commands so that this would also work on
remote setups.

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