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
Jouni Malinen
85774b70a1
tests: EAP server and OOM
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-01 00:42:09 +03:00
Jouni Malinen
405c621cdb
tests: WPA2-Enterprise connection using MAC ACL
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-07-01 00:34:27 +03:00
Jouni Malinen
df7ad0fa11
tests: EAP-TLS and unknown OCSP signer
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-30 22:05:37 +03:00
Jouni Malinen
d2a1047e67
tests: Invalid OCSP data (parsing failure)
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-30 22:01:05 +03:00
Jouni Malinen
7be5ec991d
tests: Invalid openssl_ciphers value
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-30 21:55:59 +03:00
Jouni Malinen
6eddd5303c
tests: EAP-FAST/MSCHAPv2 and server OOM
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-30 21:36:12 +03:00
Jouni Malinen
b3ff3decf6
tests: DH parameter file DSA conversion and error cases
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-29 23:23:56 +03:00
Jouni Malinen
0c83ae0469
tests: EAP-TLS with PKCS12 that includes additional certificates
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-29 23:23:56 +03:00
Jouni Malinen
b1fb42751a
tests: EAP-TLS and OOM
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-29 23:23:56 +03:00
Jouni Malinen
b197a8194b
tests: EAP-TLS and server checking CRL
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-29 23:23:56 +03:00
Jouni Malinen
486f4e3c83
tests: EAP-SIM and OOM
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-29 23:23:56 +03:00
Jouni Malinen
f1ab79c34c
tests: WPA2-Enterprise connection using EAP-IKEv2 and OOM
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-29 23:23:56 +03:00
Jouni Malinen
8c4e4c01f6
tests: WPA2-Enterprise connection using EAP-PSK and OOM
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-29 23:23:56 +03:00
Jouni Malinen
10ba4ae4d3
tests: SAE and no random numbers available
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-29 23:23:56 +03:00
Jouni Malinen
bf7071bb0c
tests: WPA2-PSK AP and no random numbers available
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-29 23:23:56 +03:00
Jouni Malinen
0937ea746b
tests: Concurrent P2P autonomous GO on 5 GHz and HT40 co-ex
...
This verifies that 20/40 MHz co-ex scan does not force MCC with PRI/SEC
channel switch.
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-29 23:23:56 +03:00
Jouni Malinen
7c1fd15f86
tests: Use 16 instead of 13 as the cwmin/cwmax invalid case
...
This is needed to allow the parser to accept 15 which is actually a
valid value.
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-27 23:24:15 +03:00
Jouni Malinen
fee39910ee
tests: Check GAS and ANQP completion events in gas_fragment
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-27 17:13:24 +03:00
Jouni Malinen
17ce7bb9db
tests: SAE and invalid commit-scalar value 1
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-27 12:51:15 +03:00
Jouni Malinen
a3704b2aae
tests: Use the new CTRL-EVENT-NETWORK-NOT-FOUND in ap_open_select_any
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-27 11:09:22 +03:00
Jouni Malinen
9e286d5ea2
tests: sae_groups to include Brainpool EC groups
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-26 22:41:51 +03:00
Jouni Malinen
b1f487cb74
tests: Try heavier SAE groups in sae_groups
...
This changes the sae_groups test case design to try with every group and
skip triggering test failure for the heavier ones that are likely to
fail in some VM setups under load. This provides more testing coverage
by not limiting the test based on lowest common setup.
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-25 20:53:07 +03:00
Jouni Malinen
33dcced589
tests: SAE with number of different passwords
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-24 21:07:18 +03:00
Jouni Malinen
1965e1965e
tests: SAE anti clogging protocol testing
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-23 23:10:36 +03:00
Jouni Malinen
939527b59d
tests: SAE reflection attack
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-23 23:10:36 +03:00