diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2017-02-13 11:24:33 +0000 |
---|---|---|
committer | Dimitri John Ledkov <xnox@ubuntu.com> | 2017-02-13 11:24:33 +0000 |
commit | 4305d024938113df5d73021a09eb2a991f54ca2f (patch) | |
tree | d9e7ecc9db14bcc1394607a9e6c644a8b93e9bea /tests/fuzz-tests/009-simple-zero-log | |
parent | e693f0e4ffb1776a05b78264ee3d93d5f07efede (diff) |
New upstream release Closes: #849353, #817806, #854915, #845473
Diffstat (limited to 'tests/fuzz-tests/009-simple-zero-log')
-rwxr-xr-x | tests/fuzz-tests/009-simple-zero-log/test.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/fuzz-tests/009-simple-zero-log/test.sh b/tests/fuzz-tests/009-simple-zero-log/test.sh new file mode 100755 index 00000000..393db3f6 --- /dev/null +++ b/tests/fuzz-tests/009-simple-zero-log/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 zero-log "$image".scratch + rm -- "$image".scratch +} + +check_all_images $TOP/tests/fuzz-tests/images + +exit 0 |