summaryrefslogtreecommitdiff
path: root/tests/fsck-tests/027-tree-reloc-tree/test.sh
blob: afad1e8d74695b3886c26c1cf6214f2932342cb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
# Make sure btrfs check won't report any false alerts for valid image with
# reloc tree.
#
# Also due to the short life span of reloc tree, save the as dump example for
# later usage.

source "$TOP/tests/common"

check_prereq btrfs

check_image() {
	local image

	image=$1
	run_check "$TOP/btrfs" check "$image"
}

check_all_images