if generate_test_config
failed, wifi_client_test_netplan.py
won't restore config file
#1674
Open
1 task done
Bug Description
The generate_test_config will raise SystemExit while missing ssid. Then the main will stop without restoring config.
This will remove files under
/etc/netplan
,/lib/netplan
,/run/netplan
that defined in here then make the debsum check fail.Cert-blocker Test Case
To Reproduce
Expected Result
It should restore all config files while executing the script failed.
Actual Result
script won't restore config file if
generate_test_config
failed.Environment
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: