hostap/tests
Jouni Malinen d952f02136 tests: Make FST kill_pid() more robust
It looks like the attempt to read the process id from a PID file can
return empty data. This resulted in kill_pid() failing to kill the
process and all the following FST test cases using the extra interface
failing. While the PID file is really supposed to have a valid PID value
when we get this far, it is better to try multiple times to avoid
failing large number of test cases.

The current os_daemonize() implementation ends up calling daemon() first
and then writing the PID file from the remaining process that is running
in the background. This leaves a short race condition where an external
process that started hostapd/wpa_supplicant could end up trying to read
the PID file before it has been written.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2016-08-22 17:44:05 +03:00
..
ap-mgmt-fuzzer tests: Add a STA entry for ap-mgmt-fuzzer 2015-05-03 18:26:50 +03:00
eapol-fuzzer
hwsim tests: Make FST kill_pid() more robust 2016-08-22 17:44:05 +03:00
p2p-fuzzer
remote tests: Add general filter for remote tests execution 2016-06-27 21:47:37 +03:00
wnm-fuzzer tests: Add wnm-fuzzer 2015-04-22 11:44:19 +03:00
.gitignore
Makefile
test-aes.c
test-asn1.c
test-base64.c
test-https.c
test-list.c
test-md4.c
test-milenage.c
test-rc4.c
test-rsa-sig-ver.c tests: Fix resource leak in test-rsa-sig-ver on error paths 2015-07-10 21:10:24 +03:00
test-sha1.c
test-sha256.c
test-x509.c
test-x509v3.c
test_x509v3_nist.sh
test_x509v3_nist2.sh