summaryrefslogtreecommitdiff
path: root/tests/fuzz-tests/001-simple-check-unmounted/test.sh
blob: 905d37b7e646075f36debe2e14460c027eaca283 (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