Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
To: unlisted-recipients:; (no To-header on input)
Cc: dsterba@suse.com, linux-btrfs@vger.kernel.org,
	Marcos Paulo de Souza <mpdesouza@suse.com>,
	wqu@suse.com
Subject: [btrfs-progs PATCHv3 0/3] tests: do not fail if dm-thin is missing
Date: Thu,  2 Jan 2020 23:12:12 -0300	[thread overview]
Message-ID: <20200103021215.30147-1-marcos.souza.org@gmail.com> (raw)

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

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(+)

-- 
2.24.0


             reply	other threads:[~2020-01-03  2:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-03  2:12 Marcos Paulo de Souza [this message]
2020-01-03  2:12 ` [btrfs-progs PATCHv3 1/3] tests: common: Add check_dm_target_support helper Marcos Paulo de Souza
2020-01-03  5:11   ` Qu WenRuo
2020-01-03  2:12 ` [btrfs-progs PATCHv3 2/3] tests: mkfs: 017: Use " Marcos Paulo de Souza
2020-01-03  2:12 ` [btrfs-progs PATCHv3 3/3] tests: mkfs: 005: " Marcos Paulo de Souza

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200103021215.30147-1-marcos.souza.org@gmail.com \
    --to=marcos.souza.org@gmail.com \
    --cc=dsterba@suse.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=mpdesouza@suse.com \
    --cc=wqu@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox