-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add a verity_cleanup function to test helpers.bash
The atomfs bad verity test case ends up leaving verity and loop devices which then break other test cases. Tearing a bad verity device down requires more inspection of the system to determine the correct verity hash device name and the loop device in use. Add the verity_cleanup to the teardown() method in atomfs and squashfs tests. Fixes: #541 Signed-off-by: Ryan Harper <rharper@woxford.com>
- Loading branch information
Showing
3 changed files
with
38 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ function setup() { | |
|
||
function teardown() { | ||
cleanup | ||
verity_cleanup | ||
} | ||
|
||
function basic_test() { | ||
|
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