btrfs-progs/tests/convert-tests
Anand Jain b51117d68e btrfs-progs: tests: check for btrfs ACL support
Fix failures caused by the lack of ACL support in btrfs. For example:

  $ make test
    ::
    [TEST/misc]   057-btrfstune-free-space-tree
    failed: setfacl -m u:root:x /Volumes/ws/btrfs-progs/tests/mnt/acls/acls.1
    test failed for case 057-btrfstune-free-space-tree
    make: *** [Makefile:493: test-misc] Error 1

Similar failures occurred in the test cases convert/001-ext2-basic,
convert/003-ext4-basic, convert/005-delete-all-rollback, and
convert/006-large-hole-extent.

Resolve it by adding a check for ACL support using the
check_kernel_support_acl() helper function. It gracefully handles the case
when ACL support is not compiled by calling _not_run().

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2023-07-26 14:59:10 +02:00
..
001-ext2-basic btrfs-progs: tests: check for btrfs ACL support 2023-07-26 14:59:10 +02:00
003-ext4-basic btrfs-progs: tests: check for btrfs ACL support 2023-07-26 14:59:10 +02:00
004-ext2-backup-superblock-ranges btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
005-delete-all-rollback btrfs-progs: tests: check for btrfs ACL support 2023-07-26 14:59:10 +02:00
006-large-hole-extent btrfs-progs: tests: check for btrfs ACL support 2023-07-26 14:59:10 +02:00
007-unsupported-block-sizes btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
008-readonly-image btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
009-common-inode-flags btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
010-reiserfs-basic btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
011-reiserfs-delete-all-rollback btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
012-reiserfs-large-hole-extent btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
013-reiserfs-common-inode-flags btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
014-reiserfs-tail-handling btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
015-no-rollback-after-balance btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
016-invalid-large-inline-extent btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
017-fs-near-full btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
018-fs-size-overflow btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
019-ext4-copy-timestamps btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
020-refuse-needs-recovery btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
021-uuid-fsid btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
022-reiserfs-parent-ref btrfs-progs: tests: add protection against running out of test suite 2023-04-25 16:59:41 +02:00
023-64k-blocksize-migrated btrfs-progs: tests: convert: add a test case to check the csum for the image file 2023-05-26 18:02:31 +02:00