aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/examples/wps-ap-cli
diff options
context:
space:
mode:
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>2018-10-23 11:07:05 (GMT)
committerJouni Malinen <j@w1.fi>2018-11-22 13:53:30 (GMT)
commit79bbafd78ccf1a9e4835a85ca252eadf20a17e94 (patch)
tree926a2c10ed354b49162a1c12b431dc1b6477af23 /wpa_supplicant/examples/wps-ap-cli
parentfcc65290d420dc19c8905c6344329181c41a55c3 (diff)
downloadhostap-79bbafd78ccf1a9e4835a85ca252eadf20a17e94.zip
hostap-79bbafd78ccf1a9e4835a85ca252eadf20a17e94.tar.gz
hostap-79bbafd78ccf1a9e4835a85ca252eadf20a17e94.tar.bz2
tests: Store the correct PID in hostapd-test.pid file
The hwsim's start.sh script spawns hostapd process using "sudo". Since sudo forks a child process, $! holds the pid of sudo itself. Fix that by storing the PID of the child process instead. Since in VM "sudo" is replaced with a dummy script, pass an additional argument to run-all.sh and start.sh scripts to indicate that they are running inside a VM. This is needed to fix ap_config_reload and ap_config_reload_file test cases on some platforms where sudo is apparently not relaying the signals properly. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Diffstat (limited to 'wpa_supplicant/examples/wps-ap-cli')
0 files changed, 0 insertions, 0 deletions