btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests
[platform/upstream/btrfs-progs.git] / tests / fuzz-tests / 004-simple-dump-tree / test.sh
1 #!/bin/bash
2
3 source "$TEST_TOP/common"
4
5 setup_root_helper
6 check_prereq btrfs
7
8 # redefine the one provided by common
9 check_image() {
10         local image
11
12         image=$1
13         run_mayfail $TOP/btrfs inspect-internal dump-tree "$image"
14 }
15
16 check_all_images $TEST_TOP/fuzz-tests/images
17
18 exit 0