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 btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
003-ext4-basic btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
004-ext2-backup-superblock-ranges btrfs-progs: tests: drop keyword function 2019-07-04 15:36:01 +02:00
005-delete-all-rollback btrfs-progs: tests: switch mktemp to local helpers 2021-10-20 18:59:24 +02:00
006-large-hole-extent btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
007-unsupported-block-sizes btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
008-readonly-image btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
009-common-inode-flags btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
010-reiserfs-basic btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
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 btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
013-reiserfs-common-inode-flags btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
014-reiserfs-tail-handling btrfs-progs: tests: convert/014 use shell builtin for generating content 2018-03-30 22:15:55 +02:00
015-no-rollback-after-balance btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
016-invalid-large-inline-extent btrfs-progs: test/convert: Add test case for invalid large inline data extent 2018-03-30 22:15:54 +02:00
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