Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/hwsim/PKGBUILD: fix generating hwsim-long-param testcases
hwsim testcases source code had changed, shoud update the method to generating hwsim-long-param testcases == change log == commit 7e88ed8e2d2af0438da19f4cf0ae94a6415c3374 Author: Jouni Malinen <[email protected]> Date: Sat Apr 18 11:00:49 2020 +0300 tests: Use function decorator to clean up --long processing Signed-off-by: Jouni Malinen <[email protected]> ...... diff --git a/tests/hwsim/test_ap_ciphers.py b/tests/hwsim/test_ap_ciphers.py index ba54102d4..fb0d9b614 100644 --- a/tests/hwsim/test_ap_ciphers.py +++ b/tests/hwsim/test_ap_ciphers.py @@ -201,10 +201,9 @@ def test_ap_cipher_tkip_countermeasures_sta(dev, apdev): if ev is not None: raise Exception("Unexpected connection during TKIP countermeasures") -def test_ap_cipher_tkip_countermeasures_sta2(dev, apdev, params): - """WPA-PSK/TKIP countermeasures (detected by two STAs) [long]""" - if not params['long']: - raise HwsimSkip("Skip test case with long duration due to --long not specified") +@long_duration_test +def test_ap_cipher_tkip_countermeasures_sta2(dev, apdev): + """WPA-PSK/TKIP countermeasures (detected by two STAs)""" skip_with_fips(dev[0]) skip_without_tkip(dev[0]) params = {"ssid": "tkip-countermeasures", Reviewed-by: Li Zhijian <[email protected]> Signed-off-by: Zhu Yifei <[email protected]> Signed-off-by: Philip Li <[email protected]>
- Loading branch information