afad1e8d74695b3886c26c1cf6214f2932342cb6
[platform/upstream/btrfs-progs.git] / tests / fsck-tests / 015-tree-reloc-tree / test.sh
1 #!/bin/bash
2 # Make sure btrfs check won't report any false alerts for valid image with
3 # reloc tree.
4 #
5 # Also due to the short life span of reloc tree, save the as dump example for
6 # later usage.
7
8 source "$TOP/tests/common"
9
10 check_prereq btrfs
11
12 check_image() {
13         local image
14
15         image=$1
16         run_check "$TOP/btrfs" check "$image"
17 }
18
19 check_all_images