From 4305d024938113df5d73021a09eb2a991f54ca2f Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Mon, 13 Feb 2017 11:24:33 +0000 Subject: New upstream release Closes: #849353, #817806, #854915, #845473 --- tests/fuzz-tests/007-simple-super-recover/test.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 tests/fuzz-tests/007-simple-super-recover/test.sh (limited to 'tests/fuzz-tests/007-simple-super-recover/test.sh') diff --git a/tests/fuzz-tests/007-simple-super-recover/test.sh b/tests/fuzz-tests/007-simple-super-recover/test.sh new file mode 100755 index 00000000..885cb352 --- /dev/null +++ b/tests/fuzz-tests/007-simple-super-recover/test.sh @@ -0,0 +1,20 @@ +#!/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_check cp "$image" "$image".scratch + run_mayfail $TOP/btrfs rescue super-recover -y -v "$image".scratch + rm -- "$image".scratch +} + +check_all_images $TOP/tests/fuzz-tests/images + +exit 0 -- cgit v1.2.3