Skip to content

btrfs-progs: tests: fix no acl support

Anand Jain linux-btrfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v16 patches 4 repliesSuperseded

Changes in v2 from the cover letter

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.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs-progs: tests: add helper check_kernel_support_acltests/common+18 -00 replies
2/2btrfs-progs: tests: check for btrfs ACL supporttests/convert-tests/001-ext2-basic/test.sh tests/convert-tests/003-ext4-basic/test.sh tests/convert-tests/005-delete-all-rollback/test.sh +2 more+5 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH 0/2 v2] btrfs-progs: tests: fix no acl support

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(+)
Signature · 1 line
2.39.3