-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a loopback block device test for blkdiscard (#166)
### What does this PR do This adds a unit test that uses a loopback device to verify that the blkdiscard code does indeed wipe a block device. ### What version of tooling - vendor specific or opensource does this change depend on (if applicable) This test depends on `losetup` `sha256sum` and `od`. All appear to be present and working in CI. ### How can this change be tested by a PR reviewer? The new test is now run in CI. ### Description for changelog/release notes N/A (just testing improvement)
- Loading branch information
Showing
2 changed files
with
68 additions
and
1 deletion.
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