summaryrefslogtreecommitdiff
path: root/tests/fuzz-tests/001-simple-unmounted/test.sh
blob: bf01a3a45a962a37d20ba0265b3bc2843423429e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

# iterate over all fuzzed images and run 'btrfs check'

source $TOP/tests/common

setup_root_helper
check_prereq btrfs

# redefine the one provided by common
check_image() {
	local image

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

check_all_images $TOP/tests/fuzz-tests/images

exit 0