btrfs-progs/tests/fuzz-tests/001-simple-check-unmounted/test.sh
David Sterba 9fc5aefe45 btrfs-progs: tests: rename test 001 to mention check
Make it more clear that the test does 'btrfs check'.

Signed-off-by: David Sterba <dsterba@suse.com>
2016-09-21 11:48:24 +02:00

21 lines
307 B
Bash
Executable File

#!/bin/bash
# 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