-
Notifications
You must be signed in to change notification settings - Fork 601
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Set snappy_stamp rather than relying on recordfail (since that sets timeout=-1). - Always explicitly set the default value if the stamp variable is not set for safety. - Added comments. * partition/bootloader_grub.go: - MarkCurrentBootSuccessful(): Set "snappy_stamp=1". * partition/bootloader_grub_test.go: - TestGrubMarkCurrentBootSuccessful(): New test for grub's version of MarkCurentBootSuccessful(). * partition/bootloader_uboot_test.go: - TestUbootMarkCurrentBootSuccessful(): new test for uboots's version of MarkCurentBootSuccessful(). * partition/partition_test.go: - Code to mock bootloaderUbootStampFile.
- Loading branch information
James Hunt
committed
Mar 30, 2015
1 parent
b655e00
commit d31f7e5
Showing
5 changed files
with
91 additions
and
16 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
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
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