diff options
author | David Sterba <dsterba@suse.com> | 2016-09-08 17:57:02 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-09-21 11:48:24 +0200 |
commit | 9fc5aefe458d2a5ad2f24759d094228aee40e27a (patch) | |
tree | edaf0a6844c0d0438e42752730cda5e256d57254 /tests/fuzz-tests/001-simple-check-unmounted | |
parent | 05b6d8b187dba66d92d2d7d7f48ca26090c1aac8 (diff) |
btrfs-progs: tests: rename test 001 to mention check
Make it more clear that the test does 'btrfs check'.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests/fuzz-tests/001-simple-check-unmounted')
-rwxr-xr-x | tests/fuzz-tests/001-simple-check-unmounted/test.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/fuzz-tests/001-simple-check-unmounted/test.sh b/tests/fuzz-tests/001-simple-check-unmounted/test.sh new file mode 100755 index 00000000..98fe7b0c --- /dev/null +++ b/tests/fuzz-tests/001-simple-check-unmounted/test.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +# 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 |