/hostap-3.7.0/tests/hwsim/vm/ |
D | min-seq.py | 24 def run_tests(tests): argument 25 print(yellow("Run test sequence: ") + ' '.join(tests)) 26 arg = ['./vm-run.sh'] + tests 33 if t == tests[-1]: 40 def reduce(tests): argument 41 if len(tests) < 2: 45 if len(tests) > 10: 46 a = list(tests[int(len(tests) / 2):]) 56 for i in range(0, len(tests) - count, count): 57 b = list(tests) [all …]
|
D | parallel-vm.py | 291 global tests 297 total_tests = len(tests) 299 test_queue = [(t, 0) for t in tests] 347 def known_output(tests, line): argument 350 if line in tests: 371 global tests 447 tests = args.params 449 tests = [] 457 tests.append(name) 458 if len(tests) == 0: [all …]
|
D | example-vm-setup.txt | 49 cd hostap/tests/hwsim 64 cp ~/hostap/tests/hwsim/vm/kernel-config .config 72 cd ~/hostap/tests/hwsim/vm 78 ./run-all.sh: passing the following args to run-tests.py: ap_open 94 cd ~/hostap/tests/hwsim/vm
|
/hostap-3.7.0/tests/hwsim/ |
D | test_cert_check.py | 140 tests = ["two.example.com", 149 for match in tests: 152 tests = ["four.example.com", 156 for match in tests: 161 tests = ["one.example.com", 166 for match in tests: 169 tests = ["four.example.com", 175 for match in tests: 197 tests = ["two.example.com", 206 for match in tests: [all …]
|
D | test_hapd_ctrl.py | 601 tests = ["a", 606 for t in tests: 825 tests = ["foo", 829 for t in tests: 839 tests = ["foo", "foo bar"] 840 for t in tests: 844 tests = ["DETECTED freq=2412 chan_offset=12 cf1=1234 cf2=2345", 848 for t in tests: 856 tests = ["MGMT_TX 1", 863 for t in tests: [all …]
|
D | README | 5 automated tests of full hostapd and wpa_supplicant functionality. This 30 branch in stable state. Results from these tests are available here: 42 cp ../tests/hwsim/example-wpa_supplicant.config .config 46 cp ../tests/hwsim/example-hostapd.config .config 76 control interface, but the run-tests.py script adds the (relative) 96 tests, you'll probably want to enable sudo with a timeout to not expire 113 any wireless LAN driver before running the tests and make sure that 116 run-tests.py to allow other names to be used. 129 Running tests 133 run-all.sh in tests/hwsim directory. This will use start.sh to load the [all …]
|
D | test_ap_config.py | 287 tests = [("driver", "foobar"), 356 for field, val in tests: 371 tests = ["#\n\n*\tTLS\nradius_accept_attr=:", 392 for t in tests: 398 tests = [("\"foo\" TLS\n", 2, "hostapd_config_read_eap_user"), 416 for t, count, func in tests: 427 tests = [(1, "hostapd_parse_das_client", 485 tests += [(1, "hostapd_config_read_wep", "SET wep_key0 \"hello\""), 487 for count, func, cmd in tests: 506 tests = [(1, "hs20_parse_icon", [all …]
|
D | build.sh | 49 if ! cmp ../tests/hwsim/example-hostapd.config .config >/dev/null 2>&1 ; then 50 cp ../tests/hwsim/example-hostapd.config .config 67 if ! cmp ../tests/hwsim/example-wpa_supplicant.config .config >/dev/null 2>&1 ; then 68 cp ../tests/hwsim/example-wpa_supplicant.config .config
|
D | test_rrm.py | 220 tests = [(1, "hostapd_neighbor_add"), 224 for count, func in tests: 842 tests = ["REQ_BEACON ", 850 for t in tests: 1919 tests = [] 1921 tests += ["0500", "050001", "05000100"] 1923 tests += ["0500010000"] 1925 tests += ["050001000026"] 1927 tests += ["05000100002600", "0500010000260111", "050001000026021122"] 1929 tests += ["05000100002603", "0500010000260311", "050001000026031122"] [all …]
|
D | test_wpas_wmm_ac.py | 352 …tests = ["WMM_AC_ADDTS downlink tsid=5 up=6 nominal_msdu_size=1500 sba=9000 mean_data_rate=1500 mi… 356 for t in tests: 363 tests = [] 365 …tests += ["11000400dd3d0050f2020201aa300000000000000000000000000000000000000000000000000000000000f… 367 …tests += ["11000400dd3e0050f2020201aa300010270000000000000000000000000000000000000000000000000000f… 369 …tests += ["11000400dd3d0050f2020201aa300010270000000000000000000000000000000000000000000000000000f… 371 …tests += ["11000400dd3d0050f2020201aa300010270000000000000000000000000000000000000000000000000000f… 375 for t in tests:
|
D | test_authsrv.py | 87 tests = ["radius_server_encapsulate_eap", 89 for t in tests: 101 tests = ["radius_msg_add_attr;radius_server_encapsulate_eap", 104 for t in tests: 205 tests = ["foo@test-unknown", 215 for t in tests:
|
D | test_wpas_ctrl.py | 64 tests = ("bssid foo", "key_mgmt foo", "key_mgmt ", "group NONE") 65 for t in tests: 69 …tests = [("key_mgmt", "WPA-PSK WPA-EAP IEEE8021X NONE WPA-NONE FT-PSK FT-EAP WPA-PSK-SHA256 WPA-EA… 82 tests.append(("key_mgmt", "WPS OSEN")) 84 tests.append(("key_mgmt", "WPS SAE FT-SAE OSEN")) 87 for field, value in tests: 261 tests = ["02:11:22:33:44:55", 268 for val in tests: 278 tests = ["foo", 283 for val in tests: [all …]
|
D | test_scs.py | 61 tests = ["", 93 for t in tests: 137 …tests = ["scs_up=6 classifier_type=4 ip_version=ipv4 src_ip=1.2.3.4 dst_ip=5.6.7.8 src_port=12345 … 148 for t in tests:
|
D | test_tnc.py | 50 tests = [(1, "tncc_build_soh"), 52 for count, func in tests: 124 tests = [(1, "eap_ttls_process_phase2_eap;eap_ttls_process_tnc_start", 154 for count, func, identity, phase2 in tests:
|
D | test_eap_proto.py | 800 tests = [(1, "eap_msg_alloc;eap_sake_build_msg;eap_sake_process_challenge"), 809 for count, func in tests: 825 tests = [(1, "os_get_random;eap_sake_process_challenge"), 832 for count, func in tests: 910 tests = [(1, "eap_sake_init"), 918 for count, func in tests: 922 tests = [(1, "eap_sake_init"), 930 for count, func in tests: 1620 tests = [(1, "eap_md5_init")] 1621 for count, func in tests: [all …]
|
D | test_owe.py | 697 tests = [(1, "crypto_ecdh_init;owe_build_assoc_req"), 700 for count, func in tests: 709 tests = [(1, "crypto_ecdh_set_peerkey;owe_process_assoc_resp"), 712 for count, func in tests: 721 tests = [(1, "hmac_sha256;owe_process_assoc_resp", 19), 727 for count, func, group in tests: 802 tests = [b''] 804 tests += [binascii.unhexlify('ff0120')] 806 tests += [binascii.unhexlify('ff03201200')] 808 tests += [binascii.unhexlify('ff23201300' + 31*'00' + '01')] [all …]
|
D | run-tests.py | 203 tests = [] 214 tests.append(val) 215 test_names = list(set([t.__name__.replace('test_', '', 1) for t in tests])) 265 …if (args.tests and args.testmodules) or (args.tests and args.mfile) or (args.testmodules and args.… 269 if args.tests: 271 for t in args.tests: 313 if args.tests: 314 for selected in args.tests: 315 for t in tests: 324 for t in tests: [all …]
|
D | test_pmksa_cache.py | 852 tests = [(1, "rsn_preauth_receive"), 856 for test in tests: 1180 tests = [] 1182 tests += [_bssid + foreign + proto] 1184 tests += [_bssid + foreign + proto + struct.pack('>BBH', 0, 0, 0)] 1186 tests += [foreign + foreign + proto + struct.pack('>BBH', 0, 0, 0)] 1188 tests += [_bssid + _addr + proto + struct.pack('>BBH', 0, 0, 0)] 1190 tests += [_bssid + foreign + proto + struct.pack('>BBH', 0, 1, 1)] 1192 tests += [_bssid + foreign + proto + struct.pack('>BBH', 0, 1, 0)] 1194 tests += [_bssid + foreign + proto + struct.pack('>BBH', 0, 1, 1)] [all …]
|
D | test_eap.py | 495 tests = [(1, "eap_teap_tlv_eap_payload"), 508 for count, func in tests: 518 tests = [(1, "eap_teap_derive_eap_msk"), 525 for count, func in tests: 542 tests = [(1, "eap_teap_tlv_pac_ack"), 544 for count, func in tests: 555 tests = [(1, "eap_teap_derive_cmk_basic_pw_auth")] 556 for count, func in tests:
|
D | test_he.py | 1237 tests = [] 1243 tests += [ (hdr + payload, True) ] 1248 tests += [ (hdr + payload, True) ] 1253 tests += [ (hdr + payload, True) ] 1258 tests += [ (hdr + payload, True) ] 1264 tests += [ (hdr + payload, False) ] 1270 tests += [ (hdr + payload, False) ] 1277 tests += [ (hdr + payload, True) ] 1285 tests += [ (hdr + payload, True) ] 1313 tests += [ (hdr + payload, True) ] [all …]
|
/hostap-3.7.0/tests/ |
D | test-md4.c | 19 } tests[] = { in main() local 64 for (i = 0; i < ARRAY_SIZE(tests); i++) { in main() 67 addr[0] = (u8 *) tests[i].data; in main() 68 len[0] = strlen(tests[i].data); in main() 70 if (memcmp(hash, tests[i].hash, 16) != 0) { in main() 77 addr[0] = (u8 *) tests[i].data; in main() 78 len[0] = strlen(tests[i].data); in main() 79 addr[1] = (u8 *) tests[i].data + 1; in main() 80 len[1] = strlen(tests[i].data) - 1; in main() 82 if (memcmp(hash, tests[i].hash, 16) != 0) { in main()
|
/hostap-3.7.0/src/crypto/ |
D | crypto_module_tests.c | 902 } tests[] = { in test_md5() local 947 for (i = 0; i < ARRAY_SIZE(tests); i++) { in test_md5() 950 addr[0] = (u8 *) tests[i].data; in test_md5() 951 len[0] = strlen(tests[i].data); in test_md5() 953 os_memcmp(hash, tests[i].hash, 16) != 0) { in test_md5() 960 addr[0] = (u8 *) tests[i].data; in test_md5() 961 len[0] = strlen(tests[i].data); in test_md5() 962 addr[1] = (u8 *) tests[i].data + 1; in test_md5() 963 len[1] = strlen(tests[i].data) - 1; in test_md5() 965 os_memcmp(hash, tests[i].hash, 16) != 0) { in test_md5() [all …]
|
/hostap-3.7.0/doc/ |
D | testing_tools.doxygen | 6 \ref unit_tests "Unit tests" | 12 used to implement automatic tests suites. 31 RADIUS server. For example, the automated EAP tests described in 88 based on the code that wpa_supplicant is using. As such, it tests 113 \section unit_tests Unit tests 116 their own unit tests for automated validation of the basic 117 functionality. Most of the tests for cryptographic algorithms are 118 using standard test vectors to validate functionality. These tests can 121 The test programs are collected in the tests subdirectory. All 122 automated unit tests can be run with [all …]
|
/hostap-3.7.0/tests/remote/ |
D | run-tests.py | 164 tests = [] 175 tests.append(val) 176 test_names = list(set([t.__name__.replace('test_', '', 1) for t in tests])) 238 tests.sort(key=lambda t: t.__name__) 262 for test in tests: 265 tests = filtered_tests 270 tests_to_run = tests 274 for test in tests: 280 for tt in tests:
|
/hostap-3.7.0/ |
D | .gitignore | 3 tests/hwsim/logs 4 tests/remote/logs
|