tests: Use cmd_execute() for iw connect 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)
commit12129dda8e5351d673d56f43812b81b71810b397
treef84c593d631b6da0e0e2ac31d23b6bc5f6bb4245
parent10e09d83167d292f620c4ce8a870868f8864722d
tests: Use cmd_execute() for iw connect 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 connect ..." commands so that this would also work on
remote setups.

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