Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the combination of backup_loc path (Bugfix) #1498

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

seankingyang
Copy link
Contributor

@seankingyang seankingyang commented Sep 24, 2024

Description

Fix the path combination fo backup_loc.
The reason is Path can't combine the path start with "/", so need to make the basedir is the relative path with "/".

Resolved issues

It will break the script if the machine connect with the wifi AP before test when it save the connection's configuration.
This will be 100% fail when the above situation.

Documentation

Tests

https://certification.canonical.com/hardware/202409-35379/submission/396113/test-results/pass/

@seankingyang seankingyang changed the title Fix the combinatio of back_loc path Fix the combinatio of back_loc path (Bugfix) Sep 24, 2024
@seankingyang seankingyang added the bug Something isn't working label Sep 24, 2024
Copy link

codecov bot commented Sep 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.48%. Comparing base (e721427) to head (27002bc).
Report is 115 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1498   +/-   ##
=======================================
  Coverage   47.48%   47.48%           
=======================================
  Files         369      369           
  Lines       39586    39586           
  Branches     6685     6685           
=======================================
  Hits        18798    18798           
  Misses      20077    20077           
  Partials      711      711           
Flag Coverage Δ
provider-base 24.02% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@seankingyang seankingyang changed the title Fix the combinatio of back_loc path (Bugfix) Fix the combination of back_loc path (Bugfix) Sep 24, 2024
@seankingyang seankingyang changed the title Fix the combination of back_loc path (Bugfix) Fix the combination of backup_loc path (Bugfix) Sep 24, 2024
@eugene-yujinwu
Copy link
Contributor

@eugene-yujinwu
Copy link
Contributor

LGTM

@fernando79513 fernando79513 self-assigned this Sep 24, 2024
Copy link
Collaborator

@fernando79513 fernando79513 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM +1!

@fernando79513 fernando79513 merged commit 2359309 into main Sep 24, 2024
55 of 56 checks passed
@fernando79513 fernando79513 deleted the Fix_WIFI_NMCLI_BACKUP branch September 24, 2024 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Importance: Critical
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants