diff options
author | David Sterba <dsterba@suse.com> | 2016-10-03 17:54:05 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-10-05 12:39:01 +0200 |
commit | a5ac95415366113462ff68cdff9ac9047159c3c7 (patch) | |
tree | 0ff8f7cbf194b3b803ebf5d0c1fba1bdf6b9bad1 /tests/fuzz-tests/004-simple-dump-tree | |
parent | ea0fd88b5a443947aab2162b59d06b3f6f6e1649 (diff) |
btrfs-progs: tests: split test 004 to separate tests
Makes testing specific tool easier.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests/fuzz-tests/004-simple-dump-tree')
-rwxr-xr-x | tests/fuzz-tests/004-simple-dump-tree/test.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/fuzz-tests/004-simple-dump-tree/test.sh b/tests/fuzz-tests/004-simple-dump-tree/test.sh new file mode 100755 index 00000000..89ff214c --- /dev/null +++ b/tests/fuzz-tests/004-simple-dump-tree/test.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +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 inspect-internal dump-tree "$image" +} + +check_all_images $TOP/tests/fuzz-tests/images + +exit 0 |