tests: do not fail if dm-thin is missing
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 1 replyIn review
- v24 patches 1 replySuperseded
- v14 patches 9 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tests: common: Add check_dm_target_support helpertests/ | +15 | 1 reply | |
| 2/3 | tests: mkfs: 017: Use check_dm_target_support helpertests/ | +1 | 0 replies | |
| 3/3 | tests: mkfs: 005: Use check_dm_target_support helpertests/ | +1 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Qu Wenruo |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [btrfs-progs PATCHv3 0/3] tests: do not fail if dm-thin is missing
From: Marcos Paulo de Souza <[email protected]>
This is the third version, which basically removes the last patch, as suggested by David, and reworks the first one, by keeping the $SUDO_HELPER call and adding the setup_root_helper function call before calling $SUDO_HELPER. The tests 005 and 017 are now skipped when triggered in a kernel without dm-thin.
Please review.
Original message:
these patchset is trying to fix the issue 192[1] by checking if dm-thin exists, and if it's not available, skip the test. In the last patch, the same is done for dmsetup. Feel free to ignore the last patch if you think we should stop the tests if dmsetup isn't available.
Thanks!
[1]: https://github.com/kdave/btrfs-progs/issues/192
Marcos Paulo de Souza (3):
tests: common: Add check_dm_target_support helper
tests: mkfs: 017: Use check_dm_target_support helper
tests: mkfs: 005: Use check_dm_target_support helper
tests/common | 15 +++++++++++++++ .../005-long-device-name-for-ssd/test.sh | 1 + .../test.sh | 1 + 3 files changed, 17 insertions(+)
Signature · 1 line
2.24.0