public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Anand Jain <anand.jain@oracle.com>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 0/2 v2] btrfs-progs: tests: fix no acl support
Date: Thu, 22 Jun 2023 16:18:10 +0800	[thread overview]
Message-ID: <cover.1687419918.git.anand.jain@oracle.com> (raw)

v2:
 Works on David's comments regarding function names.
 Also use /proc/config.gz to verify ACL support and
 merging individual test case fixes into a single patch.


Btrfs ACL support is a compiling time optional feature, instead of
failing the test cases, let them say notrun. This set fixes it.

Patch 1/2 is preparatory adds helper to check for btrfs acl support.
Patches 2/2 are actual fixes.

Thanks.

Anand Jain (2):
  btrfs-progs: tests: add helper check_kernel_support_acl
  btrfs-progs: tests: check for btrfs ACL support

 tests/common                                   | 18 ++++++++++++++++++
 tests/convert-tests/001-ext2-basic/test.sh     |  1 +
 tests/convert-tests/003-ext4-basic/test.sh     |  1 +
 .../005-delete-all-rollback/test.sh            |  1 +
 .../006-large-hole-extent/test.sh              |  1 +
 .../057-btrfstune-free-space-tree/test.sh      |  1 +
 6 files changed, 23 insertions(+)

-- 
2.39.3


             reply	other threads:[~2023-06-22  8:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-22  8:18 Anand Jain [this message]
2023-06-22  8:18 ` [PATCH 1/2 v2] btrfs-progs: tests: add helper check_kernel_support_acl Anand Jain
2023-06-22  8:18 ` [PATCH 2/2 v2] btrfs-progs: tests: check for btrfs ACL support Anand Jain
2023-06-28 21:10 ` [PATCH 0/2 v2] btrfs-progs: tests: fix no acl support David Sterba

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=cover.1687419918.git.anand.jain@oracle.com \
    --to=anand.jain@oracle.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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