diff --git a/tests/hwsim/test_wpas_config.py b/tests/hwsim/test_wpas_config.py index 1974f7f98..1dd839c14 100644 --- a/tests/hwsim/test_wpas_config.py +++ b/tests/hwsim/test_wpas_config.py @@ -132,6 +132,10 @@ def test_wpas_config_file(dev): os.remove(config) except: pass + try: + os.remove(config + ".tmp") + except: + pass try: os.rmdir(config) except: