btrfs-progs: tests: remove trivial use of local variables
[platform/upstream/btrfs-progs.git] / tests / fuzz-tests / 001-simple-check-unmounted / test.sh
1 #!/bin/bash
2
3 # iterate over all fuzzed images and run 'btrfs check'
4
5 source "$TEST_TOP/common"
6
7 setup_root_helper
8 check_prereq btrfs
9
10 # redefine the one provided by common
11 check_image() {
12         run_mayfail "$TOP/btrfs" check "$1"
13 }
14
15 check_all_images "$TEST_TOP/fuzz-tests/images"
16
17 exit 0