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

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

source "$TEST_TOP/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 "$TEST_TOP/fuzz-tests/images"

exit 0