-
Notifications
You must be signed in to change notification settings - Fork 582
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/snap-update-ns: add CurrentProfileFromChanges made
The new function takes the previously existing algorithm out of executeMountProfileUpdate, as the original location makes it very tricky to test due to the presence of all the system interactions through change.Perform. Add some simple tests that show how keep, mount and unmount changes are preserved. Signed-off-by: Zygmunt Krynicki <[email protected]>
- Loading branch information
Showing
2 changed files
with
88 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters