Jouni Malinen
7b7e8a2ee7
tests: Use codecov build hostapd/wpa_supplicant in FST tests
...
Try to use the special build for --codecov purposes, if present, instead
of hardcoding the hostapd/wpa_supplicant binary to the default location.
This is needed to collect code coverage correctly.
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-19 23:10:55 +03:00
Jouni Malinen
ccfe3e5db9
tests: wpa_supplicant ctrl_iface network OOM in string parsing
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-19 23:07:04 +03:00
Jouni Malinen
523061996c
tests: wpa_supplicant control interface wait for client
...
This test case is also adding code coverage for process daemonizing and
Linux tracing.
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-19 23:07:04 +03:00
Jouni Malinen
5b0afb0a29
tests: UUID parsing error cases
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-19 22:04:50 +03:00
Jouni Malinen
bd4b9ee5ca
tests: NFC connection handover to form a new P2P group and IP pool OOM
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-19 17:28:44 +03:00
Jouni Malinen
ccf4d7644a
tests: WPS ER OOM in XML processing
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-19 16:44:51 +03:00
Jouni Malinen
2c3a019083
tests: Initial AP configuration and OOM during PSK generation
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-19 16:31:12 +03:00
Jouni Malinen
3b765ea545
tests: FST-MANAGER TEST_REQUEST error cases
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-18 19:29:39 +03:00
Jouni Malinen
7ba240b90f
tests: FST protocol testing for Ack Response
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-18 19:08:06 +03:00
Jouni Malinen
ca73f7d2d0
tests: FST protocol testing for Setup Response
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-18 19:06:31 +03:00
Jouni Malinen
6b294e57a5
tests: Speed up fst_proto by waiting for MGMT-TX-STATUS event
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-18 19:05:31 +03:00
Jouni Malinen
4390030a51
tests: FST-MANAGER TEST_REQUEST GET_FSTS_ID and ID not found
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-18 17:23:55 +03:00
Jouni Malinen
e84297a8e6
tests: FST-MANAGER SESSION_RESPOND failure
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-18 17:23:55 +03:00
Jouni Malinen
feb64551d9
tests: FST-MANAGER SESSION_ADD OOM
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-18 17:23:55 +03:00
Jouni Malinen
f067a05589
tests: FST-MANAGER SESSION_SET parameter parsing error cases
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-18 17:23:55 +03:00
Jouni Malinen
a248e29dac
tests: FST-ATTACH OOM in fst_iface_create()
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-18 11:13:20 +03:00
Jouni Malinen
3da112c5af
tests: Use direct fst_test_common access
...
There is no need to go through fst_module_aux to reach fst_test_common
since both of these get imported here.
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-18 11:02:46 +03:00
Jouni Malinen
febd7a4c40
tests: FST attach with llt=0
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-18 11:01:44 +03:00
Jouni Malinen
742408afa8
tests: Verify wpa parameter in hostapd GET_CONFIG
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2015-07-18 00:20:23 +03:00
Jouni Malinen
b6387212f5
tests: Add coverage for new vht_capab values
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2015-07-18 00:00:20 +03:00
Jouni Malinen
087632168b
tests: Add hostapd interface with driver specified
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2015-07-17 23:57:04 +03:00
Jouni Malinen
f752fd9264
tests: FST session create OOM
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2015-07-17 19:14:15 +03:00
Jouni Malinen
19a0602d86
tests: FST send action OOM
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2015-07-17 19:14:15 +03:00
Jouni Malinen
d99ed42a15
tests: FST AP configuration and OOM
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2015-07-17 19:14:15 +03:00
Jouni Malinen
5e2ad41da3
tests: FST protocol testing
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2015-07-17 19:14:15 +03:00
Jouni Malinen
6f3815c0da
tests: WPA2-PSK-FT RRB protocol testing
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2015-07-17 11:16:15 +03:00
Anton Nayshtut
6f7b96145f
tests: hostapd global-to-local control interface redirection
...
This implements basic global-to-local control interface command
redirection tests.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2015-07-16 20:23:26 +03:00
Jouni Malinen
2531dc9f6b
tests: wpa_supplicant ctrl_iface DUP_NETWORK (global)
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2015-07-16 18:26:16 +03:00
Jouni Malinen
c0183847d9
tests: Silence unnecessary get_driver_status() prints
...
Commit 53606b105c
('tests: Wait for scan
to complete on all interfaces in reset()') added option of passing
ifname to get_driver_status(). This could result in FAIL-NO-IFNAME-MATCH
returns that get printed out in "Ignore unexpected status-driver line"
messages if the interface is not found. Check for this case to avoid
that unnecessary print.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2015-07-16 18:26:16 +03:00
Jouni Malinen
85eb89fe56
tests: FST with RSN
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2015-07-16 18:26:16 +03:00
Jouni Malinen
86ba832cf2
tests: FST AP setup failing due to OOM
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2015-07-16 18:26:16 +03:00
Jouni Malinen
d6d549c47c
tests: FST control interface behavior
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2015-07-16 18:26:16 +03:00
Anton Nayshtut
41a256ecd9
tests: Add FST module tests
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2015-07-16 18:26:16 +03:00
Jouni Malinen
dca95e6924
tests: Invalid P2PS attribute parsing
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-13 00:51:15 +03:00
Jouni Malinen
2496adf046
tests: IEEE 802.1X and EAPOL Authenticator aWhile handling
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-12 11:45:16 +03:00
Jouni Malinen
b7bdfb68f2
tests: IEEE 802.1X and EAPOL_SET command
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-12 11:34:18 +03:00
Jouni Malinen
a32a6d2ca2
tests: IEEE 802.1X and EAPOL_REAUTH request
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-12 11:34:16 +03:00
Jouni Malinen
778325501b
tests: More coverage for EAPOL Authenticator state dump
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-12 00:20:44 +03:00
Nishant Chaprana
bcc332e760
tests: Fix resource leak in test-rsa-sig-ver on error paths
...
The opened FILE pointer needs to be closed on error paths.
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2015-07-10 21:10:24 +03:00
Jouni Malinen
6c4b5da46d
tests: EAP-TLS and TLS version configuration
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-08 19:52:14 +03:00
Andrei Otcheretianski
1ee6dd2671
tests: Few trivial cleanups to P2PS tests
...
Remove unused variables and replace split(" ") with just split().
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
2015-07-08 16:52:42 +03:00
Andrei Otcheretianski
53606b105c
tests: Wait for scan to complete on all interfaces in reset()
...
When WpaSupplicant executes reset() it waits until all the ongoing scans
are completed. However, it checks the status of the wlanX interface
only. If a dedicated P2P device interface is used, scan may be still
running on the P2P Device interface, e.g., due to P2P_FIND. This might
affect subsequent tests.
Fix this by waiting until the scan is done both on wlanX and P2P
Device interfaces.
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
2015-07-08 16:52:42 +03:00
Jouni Malinen
ba53a8a009
tests: Additional invalid NDEF records
...
These are regression tests for NDEF message parsing issues with payload
length validation.
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-08 16:52:42 +03:00
Jouni Malinen
e0236b152c
tests: IEEE 802.1X and HELD state
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-07 19:25:31 +03:00
Jouni Malinen
1f560ff08f
tests: Add Undefined Behavior Sanitizer (ubsan) configuration
...
This allows hostapd and wpa_supplicant to be built for hwsim test cases
with ubsan functinality from the recent gcc/clang compiler versions.
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-07 18:23:04 +03:00
Jouni Malinen
34d3eaa8ee
tests: WPA2-PSK-FT AP over DS protocol testing
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-07 16:25:06 +03:00
Jouni Malinen
cf671d54bd
tests: WPA2-PSK-FT and OOM
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-07 16:25:06 +03:00
Jouni Malinen
7b741a5383
tests: WPA2-PSK-FT AP with GCMP-256 cipher
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-07 16:25:06 +03:00
Jouni Malinen
348bc4e0eb
tests: IEEE 802.1X connection and EAPOL-Key protocol tests
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-07 16:25:06 +03:00
Jouni Malinen
2ff4928967
tests: IEEE 802.1X and EAPOL-Start retransmissions
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-07 16:25:06 +03:00