mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
tests: Add description for test cases that were missing it
All test_*() functions are expected to use __doc__ to provide a short description of the test case. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
49d1f9c98e
commit
7134b2a548
@ -1530,6 +1530,7 @@ def test_ap_ft_eap_pull(dev, apdev):
|
||||
generic_ap_ft_eap_pull(dev, apdev)
|
||||
|
||||
def test_ap_ft_eap_pull_vlan(dev, apdev):
|
||||
"""WPA2-EAP-FT AP (pull PMK) - with VLAN"""
|
||||
generic_ap_ft_eap_pull(dev, apdev, vlan=True)
|
||||
|
||||
def test_ap_ft_eap_pull_wildcard(dev, apdev):
|
||||
|
@ -2935,6 +2935,7 @@ def test_rsn_ie_proto_psk_sta(dev, apdev):
|
||||
|
||||
@remote_compatible
|
||||
def test_ap_cli_order(dev, apdev):
|
||||
"""hostapd configuration parameter SET ordering"""
|
||||
ssid = "test-rsn-setup"
|
||||
passphrase = 'zzzzzzzz'
|
||||
|
||||
|
@ -104,9 +104,11 @@ def _test_ip4_gtk_drop(devs, apdevs, params, dst):
|
||||
pass
|
||||
|
||||
def test_ip4_gtk_drop_bcast(devs, apdevs, params):
|
||||
"""Hotspot 2.0 frame filtering - IPv4 GTK drop broadcast"""
|
||||
_test_ip4_gtk_drop(devs, apdevs, params, dst='ffffffffffff')
|
||||
|
||||
def test_ip4_gtk_drop_mcast(devs, apdevs, params):
|
||||
"""Hotspot 2.0 frame filtering - IPv4 GTK drop multicast"""
|
||||
_test_ip4_gtk_drop(devs, apdevs, params, dst='ff0000000000')
|
||||
|
||||
def _test_ip6_gtk_drop(devs, apdevs, params, dst):
|
||||
@ -140,12 +142,15 @@ def _test_ip6_gtk_drop(devs, apdevs, params, dst):
|
||||
pass
|
||||
|
||||
def test_ip6_gtk_drop_bcast(devs, apdevs, params):
|
||||
"""Hotspot 2.0 frame filtering - IPv6 GTK drop broadcast"""
|
||||
_test_ip6_gtk_drop(devs, apdevs, params, dst='ffffffffffff')
|
||||
|
||||
def test_ip6_gtk_drop_mcast(devs, apdevs, params):
|
||||
"""Hotspot 2.0 frame filtering - IPv6 GTK drop multicast"""
|
||||
_test_ip6_gtk_drop(devs, apdevs, params, dst='ff0000000000')
|
||||
|
||||
def test_ip4_drop_gratuitous_arp(devs, apdevs, params):
|
||||
"""Hotspot 2.0 frame filtering - IPv4 drop gratuitous ARP"""
|
||||
require_under_vm()
|
||||
procfile = '/proc/sys/net/ipv4/conf/%s/drop_gratuitous_arp' % devs[0].ifname
|
||||
if not os.path.exists(procfile):
|
||||
@ -173,6 +178,7 @@ def test_ip4_drop_gratuitous_arp(devs, apdevs, params):
|
||||
subprocess.call(['ip', 'neigh', 'del', '10.0.0.1', 'dev', dev.ifname])
|
||||
|
||||
def test_ip6_drop_unsolicited_na(devs, apdevs, params):
|
||||
"""Hotspot 2.0 frame filtering - IPv6 drop unsolicited NA"""
|
||||
require_under_vm()
|
||||
procfile = '/proc/sys/net/ipv6/conf/%s/drop_unsolicited_na' % devs[0].ifname
|
||||
if not os.path.exists(procfile):
|
||||
|
Loading…
Reference in New Issue
Block a user