btrfs-progs: tests: 001-simple-unmounted: iterate over fuzzed images and run check

Signed-off-by: David Sterba <dsterba@suse.com>
master
David Sterba 2015-10-26 14:36:47 +01:00
parent b85c7b7694
commit dfed5799db
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,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