btrfs-progs/tests/convert-tests
Qu Wenruo 666f3c971d btrfs-progs: tests: add support check to convert-tests/022
[BUG]
The test case convert/022 will fail if the system doesn't have
reiserfs support nor reiserfs user space tools:

  # make TEST=022\* test-convert
    [TEST]   convert-tests.sh
  WARNING: reiserfs filesystem not listed in /proc/filesystems, some tests might be skipped
    [TEST/conv]   022-reiserfs-parent-ref
  Failed system wide prerequisities: mkreiserfs
  test failed for case 022-reiserfs-parent-ref
  make: *** [Makefile:443: test-convert] Error 1

[CAUSE]
Unlike other test cases, convert/022 doesn't even check if we have
kernel support for it.

[FIX]
Add the proper check before doing system wide prerequisities checks.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2022-10-11 09:08:12 +02:00
..
001-ext2-basic
003-ext4-basic
004-ext2-backup-superblock-ranges
005-delete-all-rollback btrfs-progs: tests: switch mktemp to local helpers 2021-10-20 18:59:24 +02:00
006-large-hole-extent
007-unsupported-block-sizes
008-readonly-image
009-common-inode-flags
010-reiserfs-basic
011-reiserfs-delete-all-rollback btrfs-progs: tests: switch mktemp to local helpers 2021-10-20 18:59:24 +02:00
012-reiserfs-large-hole-extent
013-reiserfs-common-inode-flags
014-reiserfs-tail-handling
015-no-rollback-after-balance
016-invalid-large-inline-extent
017-fs-near-full btrfs-progs: tests: check that convert does not create extents beyond device boundary 2020-06-29 17:45:39 +02:00
018-fs-size-overflow btrfs-progs: tests: add convert test case for multiply overflow 2020-08-31 17:01:02 +02:00
019-ext4-copy-timestamps btrfs-progs: tests: verify that ext4 supports extra_isize 2021-03-23 17:04:22 +01:00
020-refuse-needs-recovery btrfs-progs: tests: add crafted image to test needs_recovery 2021-03-23 17:04:21 +01:00
021-uuid-fsid btrfs-progs: convert: allow to set a duplicate uuid 2021-09-20 16:58:13 +02:00
022-reiserfs-parent-ref btrfs-progs: tests: add support check to convert-tests/022 2022-10-11 09:08:12 +02:00