public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [btrfs-progs PATCHv2 0/4] tests: do not fail if dm-thin is missing
@ 2019-12-18  1:19 Marcos Paulo de Souza
  2019-12-18  1:19 ` [btrfs-progs PATCHv2 1/4] tests: common: Add check_dm_target_support helper Marcos Paulo de Souza
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Marcos Paulo de Souza @ 2019-12-18  1:19 UTC (permalink / raw)
  Cc: dsterba, linux-btrfs, Marcos Paulo de Souza, wqu

From: Marcos Paulo de Souza <mpdesouza@suse.com>

Hi there,

This is a v2 of the patches which basically changes the first patch and adds
Reviewed-by to other reviewed patches. The change in the first patch was to
remove the SUDO_HELPER variable from check_dm_target_support, since nowadays
everyone executes these tests using root.

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 (4):
  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: Do not fail is dmsetup is missing

 tests/common                                   | 18 ++++++++++++++++++
 .../005-long-device-name-for-ssd/test.sh       |  2 +-
 .../test.sh                                    |  2 +-
 3 files changed, 20 insertions(+), 2 deletions(-)

-- 
2.23.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-12-18  1:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-18  1:19 [btrfs-progs PATCHv2 0/4] tests: do not fail if dm-thin is missing Marcos Paulo de Souza
2019-12-18  1:19 ` [btrfs-progs PATCHv2 1/4] tests: common: Add check_dm_target_support helper Marcos Paulo de Souza
2019-12-18  1:46   ` Marcos Paulo de Souza
2019-12-18  1:19 ` [btrfs-progs PATCHv2 2/4] tests: mkfs: 017: Use " Marcos Paulo de Souza
2019-12-18  1:19 ` [btrfs-progs PATCHv2 3/4] tests: mkfs: 005: " Marcos Paulo de Souza
2019-12-18  1:19 ` [btrfs-progs PATCHv2 4/4] tests: Do not fail is dmsetup is missing Marcos Paulo de Souza

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox