2016-10-03 15:54:05 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-02-08 06:34:19 +00:00
|
|
|
source "$TEST_TOP/common"
|
2016-10-03 15:54:05 +00:00
|
|
|
|
|
|
|
setup_root_helper
|
|
|
|
check_prereq btrfs
|
|
|
|
|
|
|
|
# redefine the one provided by common
|
|
|
|
check_image() {
|
2018-03-23 15:21:37 +00:00
|
|
|
run_mayfail "$TOP/btrfs" inspect-internal tree-stats "$1"
|
2016-10-03 15:54:05 +00:00
|
|
|
}
|
|
|
|
|
2018-03-23 15:11:41 +00:00
|
|
|
check_all_images "$TEST_TOP/fuzz-tests/images"
|
2016-10-03 15:54:05 +00:00
|
|
|
|
|
|
|
exit 0
|