From: Avraham Stern Date: Wed, 14 Oct 2015 15:43:09 +0000 (+0300) Subject: tests: Set bridge ageing in ap_wpa2_bridge_fdb test X-Git-Tag: hostap_2_6~1503 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f487e306b976d0f2d50d584a00529c63cbfd7ba9;p=thirdparty%2Fhostap.git tests: Set bridge ageing in ap_wpa2_bridge_fdb test Set the bridge ageing to 1 sec to make the bridge clear unused addresses after this interval. Otherwise the test depends on the local configuration of brctl. Signed-off-by: Avraham Stern --- diff --git a/tests/hwsim/test_ap_psk.py b/tests/hwsim/test_ap_psk.py index 624c4f97c..cdf67b93f 100644 --- a/tests/hwsim/test_ap_psk.py +++ b/tests/hwsim/test_ap_psk.py @@ -357,6 +357,7 @@ def test_ap_wpa2_bridge_fdb(dev, apdev): cmd = subprocess.Popen(['brctl', 'showmacs', 'ap-br0'], stdout=subprocess.PIPE) macs1 = cmd.stdout.read() + cmd = subprocess.call(['brctl', 'setageing', 'ap-br0', '1']) dev[0].request("DISCONNECT") dev[1].request("DISCONNECT") time.sleep(1)