2016-06-24 23:47:29 +00:00
|
|
|
#!/bin/bash
|
2015-10-26 13:36:47 +00:00
|
|
|
|
|
|
|
# iterate over all fuzzed images and run 'btrfs check'
|
|
|
|
|
2023-04-19 15:08:41 +00:00
|
|
|
source "$TEST_TOP/common" || exit
|
2015-10-26 13:36:47 +00:00
|
|
|
|
|
|
|
check_prereq btrfs
|
|
|
|
|
2023-04-13 18:40:23 +00:00
|
|
|
setup_root_helper
|
|
|
|
|
2015-10-26 13:36:47 +00:00
|
|
|
# redefine the one provided by common
|
|
|
|
check_image() {
|
2018-03-23 15:21:37 +00:00
|
|
|
run_mayfail "$TOP/btrfs" check "$1"
|
2015-10-26 13:36:47 +00:00
|
|
|
}
|
|
|
|
|
2018-03-23 15:11:41 +00:00
|
|
|
check_all_images "$TEST_TOP/fuzz-tests/images"
|
2015-10-26 13:36:47 +00:00
|
|
|
|
|
|
|
exit 0
|