From c92ba05933a640c0084321bc6eeaa091c283b8bb Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Thu, 22 Sep 2016 14:47:57 +0100 Subject: New upstream release. --- tests/fuzz-tests/001-simple-check-unmounted/test.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 tests/fuzz-tests/001-simple-check-unmounted/test.sh (limited to 'tests/fuzz-tests/001-simple-check-unmounted') 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 -- cgit v1.2.3